Re: [PATCH 2/4] MIPS: BMIPS: Add support GPIO device nodes
From: Jonas Gorski <hidden>
Date: 2016-08-09 14:14:42
Also in:
linux-mips
Hi, On 9 August 2016 at 03:44, Jaedon Shin [off-list ref] wrote:
Hi Jonas, On Aug 8, 2016, at 11:06 PM, Jonas Gorski [off-list ref] wrote:quoted
Hi, please always include devicetree for any dts(i) related changes. On 8 August 2016 at 04:17, Jaedon Shin [off-list ref] wrote:quoted
(snip)diff --git a/arch/mips/boot/dts/brcm/bcm97435svmb.dts b/arch/mips/boot/dts/brcm/bcm97435svmb.dts index 9db84f2a6664..dd8b8fb97053 100644 --- a/arch/mips/boot/dts/brcm/bcm97435svmb.dts +++ b/arch/mips/boot/dts/brcm/bcm97435svmb.dts@@ -59,6 +59,14 @@ status = "okay";}; +&upg_gio { + status = "okay"; +}; + +&upg_gio_aon { + status = "okay"; +}; +You don't set their status in the dtsi, they will be enabled by default, and you can drop this change.quoted
&enet0 { status = "okay"; };Regards JonasThe status="disabled" has been missing. It will be added in v2. The interrupt-controller@ will also be changed.
I thought that was indented, since GPIO controllers usually are always present (you don't disable the irq controllers by default either). Not that I want to tell you how you do your dts(i) files, but I would expect things that you usually always need (irq, clocks, gpios) are present by default. Regards Jonas -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html