From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752791AbeEKMWn (ORCPT ); Fri, 11 May 2018 08:22:43 -0400 Received: from mail.kernel.org ([198.145.29.99]:51782 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750726AbeEKMWl (ORCPT ); Fri, 11 May 2018 08:22:41 -0400 X-Google-Smtp-Source: AB8JxZpAhksO5WppRD2zB6t8on3dUus0jS3NnvoiF1JMYD/8DB0M/Uht2teguj8wTRHaKzyKv+v6vAMbREhroI+uxYs= MIME-Version: 1.0 In-Reply-To: <1525943800-14095-4-git-send-email-djw@t-chip.com.cn> References: <1525943800-14095-1-git-send-email-djw@t-chip.com.cn> <1525943800-14095-4-git-send-email-djw@t-chip.com.cn> From: Rob Herring Date: Fri, 11 May 2018 07:22:19 -0500 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v1 3/5] arm64: dts: rockchip: Add gpio-syscon10 to rk3328 To: djw@t-chip.com.cn Cc: "open list:ARM/Rockchip SoC..." , Wayne Chou , Heiko Stuebner , devicetree@vger.kernel.org, David Wu , Arnd Bergmann , Finley Xiao , William Wu , Sugar Zhang , "linux-kernel@vger.kernel.org" , Robin Murphy , Rocky Hao , Will Deacon , Mark Rutland , Catalin Marinas , "moderated list:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE" Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, May 10, 2018 at 4:16 AM, wrote: > From: Levin Du > > Adding a new gpio controller named "gpio-syscon10" to rk3328, providing > access to the pins defined in the syscon GRF_SOC_CON10. > > Boards using these special pins to control regulators or LEDs, can now > utilize existing drivers like gpio-regulator and leds-gpio. > > Signed-off-by: Levin Du > > --- > > Changes in v1: > - Split from V0 and add to rk3328.dtsi for general use. > > arch/arm64/boot/dts/rockchip/rk3328.dtsi | 6 ++++++ > 1 file changed, 6 insertions(+) > > diff --git a/arch/arm64/boot/dts/rockchip/rk3328.dtsi b/arch/arm64/boot/dts/rockchip/rk3328.dtsi > index b8e9da1..73a822d 100644 > --- a/arch/arm64/boot/dts/rockchip/rk3328.dtsi > +++ b/arch/arm64/boot/dts/rockchip/rk3328.dtsi > @@ -309,6 +309,12 @@ > mode-loader = ; > }; > > + gpio_syscon10: gpio-syscon10 { GPIO controller nodes should be named just 'gpio'. > + compatible = "rockchip,gpio-syscon"; > + gpio-controller; > + #gpio-cells = <2>; > + gpio,syscon-dev = <0 0x0428 0>; This property is not documented and takes a phandle. > + }; > }; > > uart0: serial@ff110000 { > -- > 2.7.4 > > > -- > To unsubscribe from this list: send the line "unsubscribe devicetree" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html