Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp5166991ybe; Tue, 17 Sep 2019 03:53:31 -0700 (PDT) X-Google-Smtp-Source: APXvYqxq+5+bz4G94GxxIWYpJYY6grx1L0AyvBKyHkql7FBtAvi8v3jT7AnK5dvdUn4Vu9wam8GJ X-Received: by 2002:a17:906:95cf:: with SMTP id n15mr4107611ejy.183.1568717611337; Tue, 17 Sep 2019 03:53:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1568717611; cv=none; d=google.com; s=arc-20160816; b=hlyI9PUoxXNxMvuKa4WJ5gDXgX1o/+YTwNHC+JFGqZnYv4gYpi7UXWU4DhsTjsZqON I8jXZRjke7VapAIuaLxWfXjgQSHa8z/LVmU1lVbj5e603TEvIaN47g4QYvffXbtl9JTX Sg7YiB/HCi0rQA37JnDl4y81pZSW92jerhTxbjmjAH05/4J8RbBA/ewqmvADr2Xg4zqE ZQD3vjX5kkP8miRCKgjzkZrP+gzXoQ5+lWtHUcFWuxAgBrX2IIVW7lrEmODGlYhYzdjv y7D0ok0pbufZTPWdZYQPiL8BekE6jNJ9MSZvJ8VyT4ci7NKfU4bWUi5cGm/eOaX71zVl uh4w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=oKtijdtM/1hg9de+IDRvUKtc44bJy5bjeq1U/AqrdsQ=; b=ZXLXT0o1Sw/Hw8TrHq6y8PJP96bQmITV3tzJSwDR3PqNb5M5D3R9w+KKuqtmgHGQ30 pAm5K7bz3IK2lN39BSoexari59RGiw8HRGF0GFgLfVYD0ckf/4VjtYpqBKNPJmB4OIsZ naNUqGzZMv1c+KRhKtskmTa9wa6dUeOykCS6j0qL12uodMcWiFq3y971Jqo9ZruN6puG muAKcF5k9GdopDWFC6le5mI4Ll+YYBhI206+3MZAb9TKMo4EpEyXtqc9ow3GsvXdQ9hK zR2oYkkHZ7sNXMxRLF1rctVHkAX5j4WT9r1eiPL/JdVLlNrIgp9g3BmVIHp4Y+mC9Ed5 XTGA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q20si912398ejn.18.2019.09.17.03.53.08; Tue, 17 Sep 2019 03:53:31 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727718AbfIQK2a (ORCPT + 99 others); Tue, 17 Sep 2019 06:28:30 -0400 Received: from mail-sz.amlogic.com ([211.162.65.117]:47095 "EHLO mail-sz.amlogic.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726756AbfIQK23 (ORCPT ); Tue, 17 Sep 2019 06:28:29 -0400 Received: from [10.28.18.45] (10.28.18.45) by mail-sz.amlogic.com (10.28.11.5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1591.10; Tue, 17 Sep 2019 18:29:23 +0800 Subject: Re: [PATCH 1/3] pinctrl: add compatible for Amlogic Meson A1 pin controller To: Neil Armstrong , Linus Walleij , CC: Xingyu Chen , Jianxin Pan , Jerome Brunet , Kevin Hilman , Martin Blumenstingl , Carlo Caione , Rob Herring , Hanjie Lin , Mark Rutland , , , , References: <1568700442-18540-1-git-send-email-qianggui.song@amlogic.com> <1568700442-18540-2-git-send-email-qianggui.song@amlogic.com> <131cf06f-2530-4524-9f86-3c07641bb460@baylibre.com> From: Qianggui Song Message-ID: <3a4bdcbf-883a-cf31-6af1-a692a10cb9a5@amlogic.com> Date: Tue, 17 Sep 2019 18:29:23 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 MIME-Version: 1.0 In-Reply-To: <131cf06f-2530-4524-9f86-3c07641bb460@baylibre.com> Content-Type: text/plain; charset="utf-8" Content-Language: en-US Content-Transfer-Encoding: 7bit X-Originating-IP: [10.28.18.45] X-ClientProxiedBy: mail-sz.amlogic.com (10.28.11.5) To mail-sz.amlogic.com (10.28.11.5) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, Neil Thanks for your review On 2019/9/17 15:18, Neil Armstrong wrote: > Hi, > > On 17/09/2019 08:07, Qianggui Song wrote: >> Add new compatible name for Amlogic's Meson-A1 pin controller >> add a dt-binding header file which document the detail pin names. > > Please add in the commit log that A1 doesn't need the DS bank reg, > so when we will convert these bindings to yaml we will be aware of it. > OK, will add it in the next patch >> >> Signed-off-by: Qianggui Song >> Signed-off-by: Xingyu Chen >> Signed-off-by: Jianxin Pan >> --- >> .../devicetree/bindings/pinctrl/meson,pinctrl.txt | 1 + >> include/dt-bindings/gpio/meson-a1-gpio.h | 73 ++++++++++++++++++++++ >> 2 files changed, 74 insertions(+) >> create mode 100644 include/dt-bindings/gpio/meson-a1-gpio.h >> >> diff --git a/Documentation/devicetree/bindings/pinctrl/meson,pinctrl.txt b/Documentation/devicetree/bindings/pinctrl/meson,pinctrl.txt >> index 10dc4f7..0aff1f2 100644 >> --- a/Documentation/devicetree/bindings/pinctrl/meson,pinctrl.txt >> +++ b/Documentation/devicetree/bindings/pinctrl/meson,pinctrl.txt >> @@ -15,6 +15,7 @@ Required properties for the root node: >> "amlogic,meson-axg-aobus-pinctrl" >> "amlogic,meson-g12a-periphs-pinctrl" >> "amlogic,meson-g12a-aobus-pinctrl" >> + "amlogic,meson-a1-periphs-pinctrl" >> - reg: address and size of registers controlling irq functionality >> >> === GPIO sub-nodes === >> diff --git a/include/dt-bindings/gpio/meson-a1-gpio.h b/include/dt-bindings/gpio/meson-a1-gpio.h >> new file mode 100644 >> index 0000000..40e57a5 >> --- /dev/null >> +++ b/include/dt-bindings/gpio/meson-a1-gpio.h >> @@ -0,0 +1,73 @@ >> +/* SPDX-License-Identifier: (GPL-2.0+ OR MIT) */ >> +/* >> + * Copyright (c) 2019 Amlogic, Inc. All rights reserved. >> + * Author: Qianggui Song >> + */ >> + >> +#ifndef _DT_BINDINGS_MESON_A1_GPIO_H >> +#define _DT_BINDINGS_MESON_A1_GPIO_H >> + >> +#define GPIOP_0 0 >> +#define GPIOP_1 1 >> +#define GPIOP_2 2 >> +#define GPIOP_3 3 >> +#define GPIOP_4 4 >> +#define GPIOP_5 5 >> +#define GPIOP_6 6 >> +#define GPIOP_7 7 >> +#define GPIOP_8 8 >> +#define GPIOP_9 9 >> +#define GPIOP_10 10 >> +#define GPIOP_11 11 >> +#define GPIOP_12 12 >> +#define GPIOB_0 13 >> +#define GPIOB_1 14 >> +#define GPIOB_2 15 >> +#define GPIOB_3 16 >> +#define GPIOB_4 17 >> +#define GPIOB_5 18 >> +#define GPIOB_6 19 >> +#define GPIOX_0 20 >> +#define GPIOX_1 21 >> +#define GPIOX_2 22 >> +#define GPIOX_3 23 >> +#define GPIOX_4 24 >> +#define GPIOX_5 25 >> +#define GPIOX_6 26 >> +#define GPIOX_7 27 >> +#define GPIOX_8 28 >> +#define GPIOX_9 29 >> +#define GPIOX_10 30 >> +#define GPIOX_11 31 >> +#define GPIOX_12 32 >> +#define GPIOX_13 33 >> +#define GPIOX_14 34 >> +#define GPIOX_15 35 >> +#define GPIOX_16 36 >> +#define GPIOF_0 37 >> +#define GPIOF_1 38 >> +#define GPIOF_2 39 >> +#define GPIOF_3 40 >> +#define GPIOF_4 41 >> +#define GPIOF_5 42 >> +#define GPIOF_6 43 >> +#define GPIOF_7 44 >> +#define GPIOF_8 45 >> +#define GPIOF_9 46 >> +#define GPIOF_10 47 >> +#define GPIOF_11 48 >> +#define GPIOF_12 49 >> +#define GPIOA_0 50 >> +#define GPIOA_1 51 >> +#define GPIOA_2 52 >> +#define GPIOA_3 53 >> +#define GPIOA_4 54 >> +#define GPIOA_5 55 >> +#define GPIOA_6 56 >> +#define GPIOA_7 57 >> +#define GPIOA_8 58 >> +#define GPIOA_9 59 >> +#define GPIOA_10 60 >> +#define GPIOA_11 61 >> + >> +#endif /* _DT_BINDINGS_MESON_A1_GPIO_H */ >> > > > With that fixed, > > Reviewed-by: Neil Armstrong > > Neil > > . >