Re: [U-Boot] [PATCH v3 27/30] ARM: dts: k2g: Disable netcp by default

2017-05-26 Thread Tom Rini
On Fri, May 26, 2017 at 01:57:18PM -0500, Franklin S Cooper Jr wrote:
> 
> 
> On 05/26/2017 01:46 PM, Tom Rini wrote:
> > On Fri, May 26, 2017 at 01:22:17PM -0500, Franklin S Cooper Jr wrote:
> >>
> >>
> >> On 05/26/2017 01:09 PM, Tom Rini wrote:
> >>> On Wed, May 24, 2017 at 10:43:07AM -0500, Franklin S Cooper Jr wrote:
> >>>
>  Disable netcp by default like all other peripherals in the dtsi file.
>  Enable the peripheral explicitly in the board specific dts file.
> 
>  Signed-off-by: Franklin S Cooper Jr 
> >>>
> >>> This is being mirrored in the kernel, yes?
> >>
> >> This isn't applicable in the kernel since K2G kernel dts is bare minimal
> >> and doesn't included netcp.
> > 
> > OK, but will it be going up at some point?
> 
> Yes. There are some dependency clock framework patches that I'm
> depending on before I can enable various peripherals in the kernel.
> Various folks seem to have made good progress getting things upstreamed
> and I believe the remaining should get accepted soon. After that happens
> we should be able to enable all the various peripherals in the kernel's
> K2G dts file.

OK, thanks.

Reviewed-by: Tom Rini 

-- 
Tom


signature.asc
Description: Digital signature
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


Re: [U-Boot] [PATCH v3 27/30] ARM: dts: k2g: Disable netcp by default

2017-05-26 Thread Franklin S Cooper Jr


On 05/26/2017 01:46 PM, Tom Rini wrote:
> On Fri, May 26, 2017 at 01:22:17PM -0500, Franklin S Cooper Jr wrote:
>>
>>
>> On 05/26/2017 01:09 PM, Tom Rini wrote:
>>> On Wed, May 24, 2017 at 10:43:07AM -0500, Franklin S Cooper Jr wrote:
>>>
 Disable netcp by default like all other peripherals in the dtsi file.
 Enable the peripheral explicitly in the board specific dts file.

 Signed-off-by: Franklin S Cooper Jr 
>>>
>>> This is being mirrored in the kernel, yes?
>>
>> This isn't applicable in the kernel since K2G kernel dts is bare minimal
>> and doesn't included netcp.
> 
> OK, but will it be going up at some point?

Yes. There are some dependency clock framework patches that I'm
depending on before I can enable various peripherals in the kernel.
Various folks seem to have made good progress getting things upstreamed
and I believe the remaining should get accepted soon. After that happens
we should be able to enable all the various peripherals in the kernel's
K2G dts file.
> 
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


Re: [U-Boot] [PATCH v3 27/30] ARM: dts: k2g: Disable netcp by default

2017-05-26 Thread Tom Rini
On Fri, May 26, 2017 at 01:22:17PM -0500, Franklin S Cooper Jr wrote:
> 
> 
> On 05/26/2017 01:09 PM, Tom Rini wrote:
> > On Wed, May 24, 2017 at 10:43:07AM -0500, Franklin S Cooper Jr wrote:
> > 
> >> Disable netcp by default like all other peripherals in the dtsi file.
> >> Enable the peripheral explicitly in the board specific dts file.
> >>
> >> Signed-off-by: Franklin S Cooper Jr 
> > 
> > This is being mirrored in the kernel, yes?
> 
> This isn't applicable in the kernel since K2G kernel dts is bare minimal
> and doesn't included netcp.

OK, but will it be going up at some point?

-- 
Tom


signature.asc
Description: Digital signature
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


Re: [U-Boot] [PATCH v3 27/30] ARM: dts: k2g: Disable netcp by default

2017-05-26 Thread Franklin S Cooper Jr


On 05/26/2017 01:09 PM, Tom Rini wrote:
> On Wed, May 24, 2017 at 10:43:07AM -0500, Franklin S Cooper Jr wrote:
> 
>> Disable netcp by default like all other peripherals in the dtsi file.
>> Enable the peripheral explicitly in the board specific dts file.
>>
>> Signed-off-by: Franklin S Cooper Jr 
> 
> This is being mirrored in the kernel, yes?
> 

This isn't applicable in the kernel since K2G kernel dts is bare minimal
and doesn't included netcp.
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


Re: [U-Boot] [PATCH v3 27/30] ARM: dts: k2g: Disable netcp by default

2017-05-26 Thread Tom Rini
On Wed, May 24, 2017 at 10:43:07AM -0500, Franklin S Cooper Jr wrote:

> Disable netcp by default like all other peripherals in the dtsi file.
> Enable the peripheral explicitly in the board specific dts file.
> 
> Signed-off-by: Franklin S Cooper Jr 

This is being mirrored in the kernel, yes?

-- 
Tom


signature.asc
Description: Digital signature
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


[U-Boot] [PATCH v3 27/30] ARM: dts: k2g: Disable netcp by default

2017-05-24 Thread Franklin S Cooper Jr
Disable netcp by default like all other peripherals in the dtsi file.
Enable the peripheral explicitly in the board specific dts file.

Signed-off-by: Franklin S Cooper Jr 
---
 arch/arm/dts/keystone-k2g-evm.dts| 4 
 arch/arm/dts/keystone-k2g-netcp.dtsi | 1 +
 2 files changed, 5 insertions(+)

diff --git a/arch/arm/dts/keystone-k2g-evm.dts 
b/arch/arm/dts/keystone-k2g-evm.dts
index f6fce33..de208b3 100644
--- a/arch/arm/dts/keystone-k2g-evm.dts
+++ b/arch/arm/dts/keystone-k2g-evm.dts
@@ -37,6 +37,10 @@
phy-handle = <ðphy0>;
 };
 
+&netcp {
+   status = "okay";
+};
+
 &spi1 {
status = "okay";
 
diff --git a/arch/arm/dts/keystone-k2g-netcp.dtsi 
b/arch/arm/dts/keystone-k2g-netcp.dtsi
index a9b26c3..d76f2a1 100644
--- a/arch/arm/dts/keystone-k2g-netcp.dtsi
+++ b/arch/arm/dts/keystone-k2g-netcp.dtsi
@@ -99,6 +99,7 @@ netcp: netcp@400 {
reg = <0x2620110 0x8>;
reg-names = "efuse";
compatible = "ti,netcp-1.0";
+   status = "disabled";
#address-cells = <1>;
#size-cells = <1>;
/* power-domains = <&k2g_pds K2G_DEV_NSS0>; */
-- 
2.10.0

___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot