Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932247AbbLAXve (ORCPT ); Tue, 1 Dec 2015 18:51:34 -0500 Received: from mailout4.w1.samsung.com ([210.118.77.14]:61630 "EHLO mailout4.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932149AbbLAXvb (ORCPT ); Tue, 1 Dec 2015 18:51:31 -0500 X-AuditID: cbfec7f5-f79b16d000005389-12-565e32802a7d Subject: Re: [PATCH 3/3] Addition of binding for firmware signals on peach-pi To: Martyn Welch References: <1448997171-7064-1-git-send-email-martyn.welch@collabora.co.uk> <1448997171-7064-4-git-send-email-martyn.welch@collabora.co.uk> Cc: Olof Johansson , linux-kernel@vger.kernel.org, Rob Herring , Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala , Russell King , Kukjin Kim , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org From: Krzysztof Kozlowski X-Enigmail-Draft-Status: N1110 Message-id: <565E327E.90404@samsung.com> Date: Wed, 02 Dec 2015 08:51:26 +0900 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-version: 1.0 In-reply-to: <1448997171-7064-4-git-send-email-martyn.welch@collabora.co.uk> Content-type: text/plain; charset=windows-1252 Content-transfer-encoding: 7bit X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprHIsWRmVeSWpSXmKPExsVy+t/xK7oNRnFhBsd/yVrMP3KO1aL/zUJW i3OvVjJavH5haNH/+DWzxabH11gtLu+aw2Yx4/w+Jovbl3ktll6/yGRxetl6ZotT1z+zWUyY vpbFonXvEXYHPo8189YwerQ097B5XO7rZfL4+/w6i8fK5V/YPDat6mTz2Lyk3uPKiSZWj74t qxg9Pm+SC+CK4rJJSc3JLEst0rdL4Mp4vfMLe8FN6YqD5zuZGxgvi3YxcnJICJhI9M1bwQRh i0lcuLeerYuRi0NIYCmjxOJrK1hBEkICTxklnnwpBrGFBXwler+9BCri4BAR0Jd48rgcor6X UeLO751gzcwCG5kl3s+cDdbMJmAssXn5EjaIDXISvd2TWEBsXgENibefprGDDGIRUJVobvQA CYsKREhMnNDAClEiKPFj8j2wck4BH4mJBzawgJQzC+hJ3L+oBRJmFpCX2LzmLfMERsFZSDpm IVTNQlK1gJF5FaNoamlyQXFSeq6RXnFibnFpXrpecn7uJkZIrH3dwbj0mNUhRgEORiUe3hU8 cWFCrIllxZW5hxglOJiVRHi9ZIBCvCmJlVWpRfnxRaU5qcWHGKU5WJTEeWfueh8iJJCeWJKa nZpakFoEk2Xi4JRqYNx3YXeAhs3tj/kpjx8lG/AH590K+JwV3b8of83bWWXcOpLTmZgTV/XJ sr62uP8oo9GhOCS/eOHie9YqAlKX+9mXHrsQfVSwOUP6gjtfqfLph+FbvrH9NH98b+eGU1Zu x1l/Wvcz/t5rurlo2p29+VKdBxoTnrVJfuApO+O80YfPJkKnXanSWImlOCPRUIu5qDgRAG7Z 78exAgAA Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 3668 Lines: 127 On 02.12.2015 04:12, Martyn Welch wrote: > The peach pi has a GPIO connected to the firmware write protect, developer > mode and recovery mode lines. This patch adds the required nodes to the > device tree to configure the pinmuxing and allow these to be read from > user space. > > Cc: Rob Herring > Cc: Pawel Moll > Cc: Mark Rutland > Cc: Ian Campbell > Cc: Kumar Gala > Cc: Russell King > Cc: Kukjin Kim > Cc: Krzysztof Kozlowski > Cc: devicetree@vger.kernel.org > Cc: linux-arm-kernel@lists.infradead.org > Cc: linux-samsung-soc@vger.kernel.org > Signed-off-by: Martyn Welch > --- > arch/arm/boot/dts/exynos5800-peach-pi.dts | 40 +++++++++++++++++++++++++++++++ > 1 file changed, 40 insertions(+) Hi, Thanks for the patch. Few points from my side: 1. Please add a prefix to the subject: "ARM: dts:". 2. There is no need of such huge CC-list in the body of commit. This CC-list comes from get_maintainer so there is no benefit of duplicating it here. The CC is usually used to notify other people who might be interested but get_maintainer does not point them. 3. I received only this third patch. I did not receive cover letter explaining possible dependencies so I am not sure how to deal with the patch. It looks like there are no dependencies... but maybe there are? Is this is a new binding or no? Please provide a cover letter (if it exists already be sure to send it to all interested parties) or send entire patchset so the big picture could be seen. The patch itself looks good but I'll wait with a review tag for #3. Best regards, Krzysztof > > diff --git a/arch/arm/boot/dts/exynos5800-peach-pi.dts b/arch/arm/boot/dts/exynos5800-peach-pi.dts > index 49a4f43..485c18f 100644 > --- a/arch/arm/boot/dts/exynos5800-peach-pi.dts > +++ b/arch/arm/boot/dts/exynos5800-peach-pi.dts > @@ -53,6 +53,25 @@ > }; > }; > > + chromeos-firmware { > + compatible = "google,gpio-firmware"; > + > + pinctrl-names = "default"; > + pinctrl-0 = <&wp_gpio &dev_mode &rec_mode>; > + > + write-protect { > + gpios = <&gpx3 0 GPIO_ACTIVE_LOW>; > + }; > + > + developer-switch { > + gpios = <&gpx1 3 GPIO_ACTIVE_HIGH>; > + }; > + > + recovery-switch { > + gpios = <&gpx0 7 GPIO_ACTIVE_LOW>; > + }; > + }; > + > gpio-keys { > compatible = "gpio-keys"; > > @@ -731,6 +750,13 @@ > samsung,pin-val = <0>; > }; > > + rec_mode: rec-mode { > + samsung,pins = "gpx0-7"; > + samsung,pin-function = <0>; > + samsung,pin-pud = <0>; > + samsung,pin-drv = <0>; > + }; > + > tpm_irq: tpm-irq { > samsung,pins = "gpx1-0"; > samsung,pin-function = <0>; > @@ -752,6 +778,13 @@ > samsung,pin-drv = <0>; > }; > > + dev_mode: dev-mode { > + samsung,pins = "gpx1-3"; > + samsung,pin-function = <0>; > + samsung,pin-pud = <3>; > + samsung,pin-drv = <0>; > + }; > + > ec_irq: ec-irq { > samsung,pins = "gpx1-5"; > samsung,pin-function = <0>; > @@ -773,6 +806,13 @@ > samsung,pin-drv = <0>; > }; > > + wp_gpio: wp_gpio { > + samsung,pins = "gpx3-0"; > + samsung,pin-function = <0>; > + samsung,pin-pud = <0>; > + samsung,pin-drv = <0>; > + }; > + > max77802_irq: max77802-irq { > samsung,pins = "gpx3-1"; > samsung,pin-function = <0>; > -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/