Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp2853620imm; Sun, 24 Jun 2018 06:05:26 -0700 (PDT) X-Google-Smtp-Source: ADUXVKLA/QpE2VlbSrA4RLSEunFXgOqwJhaoxK+QsRnVyKP1Fa8TOB2waIOQ6L7CDkszxpKH9G0z X-Received: by 2002:a17:902:8549:: with SMTP id d9-v6mr8690499plo.81.1529845526784; Sun, 24 Jun 2018 06:05:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529845526; cv=none; d=google.com; s=arc-20160816; b=bhSQ0LyZppZEbcXXlFsNzsu4s3oulxoNOdmperbqyUWLImreXeRDB6phYciI+nBUpz pzCfbObm7sXnveg6t4B2413B05xpw8SMGospNk3QlnslebOrxO/SrBJJFe5ZSB6D8enx DGGfMKZFXWcsDEKXbhnKQ11daaH+jXErxTKZbZpPQed2r0+7zDnhHIWaKInQcdN93GQF +NCz9jMcPx9evghYXrzK8Inn8iS/itvabGaoG0hhMm+KoJMjigeYuyJ6lBcRGS6mLewW UlzKiykNH3972D370UYqxz1z9L95YgLTnrMH7HjGXGL+F2yKSldUl5MrNDtPi/guNd8E Tkgg== 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:organization:autocrypt:openpgp:from:references:cc:to :subject:arc-authentication-results; bh=Kj1mPcBRvhiLVoU0q/BQG4H1S8567ZV1MU4JKsKz/zM=; b=omLiyoILnJvnvi6oJKBeA5+ialJ0R1GsFFITdFZiruC9rQSoKJFU07VhS6gliTahJ6 PrvSUYnOmbELh4kh1J6BITERBETRZxq2hF4GZ8w71Nb/UeSJxbOfqTVkTKk++Yl3fmKl tcrWVTsnsnSg6h2ezZH8+AMbe8Rc8dipWFxT/G/cGTxgogrhsZazRPqHaB5MOl9gLyWp +tOTNIGGNUERpB+cDe0xUafV48ZVVMoCnvq18WR3N27u3DgfzWawFtY89Xx80mylMyDc CxOw2EdcURJ6euTai4GdjaVweL+692AwNVsAtlRzgbZ/JDbQZ9nu4F6mVj/VmxMNyiBz 1WMA== 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 f10-v6si11513644plr.265.2018.06.24.06.05.08; Sun, 24 Jun 2018 06:05:26 -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 S1751828AbeFXNE0 (ORCPT + 99 others); Sun, 24 Jun 2018 09:04:26 -0400 Received: from mx2.suse.de ([195.135.220.15]:59451 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751018AbeFXNEY (ORCPT ); Sun, 24 Jun 2018 09:04:24 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (charybdis-ext-too.suse.de [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id 13D2DABDF; Sun, 24 Jun 2018 13:04:23 +0000 (UTC) Subject: Re: [PATCH 1/4] dt-bindings: power: Add Actions Semi S900 SPS To: Manivannan Sadhasivam , robh+dt@kernel.org Cc: liuwei@actions-semi.com, 96boards@ucrobotics.com, devicetree@vger.kernel.org, daniel.thompson@linaro.org, amit.kucheria@linaro.org, hzhang@ucrobotics.com, bdong@ucrobotics.com, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, manivannanece23@gmail.com, Jeff Chen , "Thomas C. Liau" References: <20180411164036.8046-1-manivannan.sadhasivam@linaro.org> <20180411164036.8046-2-manivannan.sadhasivam@linaro.org> From: =?UTF-8?Q?Andreas_F=c3=a4rber?= Openpgp: preference=signencrypt Autocrypt: addr=afaerber@suse.de; prefer-encrypt=mutual; keydata= xsFNBE6W6ZQBEAC/BIukDnkVenIkK9O14UucicBIVvRB5WSMHC23msS+R2h915mW7/vXfn+V 0nrr5ECmEg/5OjujKf0x/uhJYrsxcp45nDyYCk+RYoOJmGzzUFya1GvT/c04coZ8VmgFUWGE vCfhHJro85dZUL99IoLP21VXEVlCPyIngSstikeuf14SY17LPTN1aIpGQDI2Qt8HHY1zOVWv iz53aiFLFeIVhQlBmOABH2Ifr2M9loRC9yOyGcE2GhlzgyHGlQxEVGFn/QptX6iYbtaTBTU0 c72rpmbe1Nec6hWuzSwu2uE8lF+HYcYi+22ml1XBHNMBeAdSEbSfDbwc///8QKtckUzbDvME S8j4KuqQhwvYkSg7dV9rs53WmjO2Wd4eygkC3tBhPM5s38/6CVGl3ABiWJs3kB08asUNy8Wk juusU/nRJbXDzxu1d+hv0d+s5NOBy/5+7Pa6HeyBnh1tUmCs5/f1D/cJnuzzYwAmZTHFUsfQ ygGBRRKpAVu0VxCFNPSYKW0ULi5eZV6bcj+NAhtafGsWcv8WPFXgVE8s2YU38D1VtlBvCo5/ 0MPtQORqAQ/Itag1EHHtnfuK3MBtA0fNxQbb2jha+/oMAi5hKpmB/zAlFoRtYHwjFPFldHfv Iljpe1S0rDASaF9NsQPfUBEm7dA5UUkyvvi00HZ3e7/uyBGb0QARAQABzSJBbmRyZWFzIEbD pHJiZXIgPGFmYWVyYmVyQHN1c2UuZGU+wsF7BBMBAgAlAhsDBgsJCAcDAgYVCAIJCgsEFgID AQIeAQIXgAUCTqGJnQIZAQAKCRD6LtEtPn4BPzetD/4rF6k/HF+9U9KqykfJaWdUHJvXpI85 Roab12rQbiIrL4hVEYKrYwPEKpCf+FthXpgOq+JdTGJ831DMlTx7Ed5/QJ9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TeiHGQTW xP1jbgWQJGPvJZ+htERT8SZGBQRb1paoRd1KWQ1mlr3CQvXtfA/daq8p/wL48sXrKNwedrLV iZOeJOFwfpJgsFU4xLoO/8N0RNFsnelBgWgZE3ZEctEd4BsWFUw+czYCPYfqOcJ556QUGA9y DeDcxSitpYrNIvpk4C5CHbvskVLKPIUVXxTNl8hAGo1Ahm1VbNkYlocAEQEAAcLBXwQYAQIA CQUCTpbplAIbDAAKCRD6LtEtPn4BPzA6D/9TbSBOPM99SHPX9JiEQAw4ITCBF2oTWeZQ6RJg RKpB15lzyPfyFbNSceJp9dCiwDWe+pzKaX6KYOFZ5+YTS0Ph2eCR+uT2l6Mt6esAun8dvER/ xlPDW7p88dwGUcV8mHEukWdurSEDTj8V3K29vpgvIgRq2lHCn2wqRQBGpiJAt72Vg0HxUlwN GAJNvhpeW8Yb43Ek7lWExkUgOfNsDCTvDInF8JTFtEXMnUcPxC0d/GdAuvBilL9SlmzvoDIZ 5k2k456bkY3+3/ydDvKU5WIgThydyCEQUHlmE6RdA3C1ccIrIvKjVEwSH27Pzy5jKQ78qnhv dtLLAavOXyBJnOGlNDOpOyBXfv02x91RoRiyrSIM7dKmMEINKQlAMgB/UU/6B+mvzosbs5d3 4FPzBLuuRz9WYzXmnC460m2gaEVk1GjpidBWw0yY6kgnAM3KhwCFSecqUQCvwKFDGSXDDbCr w08b3GDk40UoCoUq9xrGfhlf05TUSFTg2NlSrK7+wAEsTUgs2ZYLpHyEeftoDDnKpM4ghs/O ceCeyZUP1zSgRSjgITQp691Uli5Nd1mIzaaM8RjOE/Rw67FwgblKR6HAhSy/LYw1HVOu+Ees RAEdbtRt37A8brlb/ENxbLd9SGC8/j20FQjit7oPNMkTJDs7Uo2eb7WxOt5pSTVVqZkv7Q== Organization: SUSE Linux GmbH Message-ID: Date: Sun, 24 Jun 2018 15:04:21 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 MIME-Version: 1.0 In-Reply-To: <20180411164036.8046-2-manivannan.sadhasivam@linaro.org> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Mani, Am 11.04.2018 um 18:40 schrieb Manivannan Sadhasivam: > Define power domains for Actions Semi S900 SoC Smart Power System (SPS). > > Signed-off-by: Manivannan Sadhasivam > --- > .../devicetree/bindings/power/actions,owl-sps.txt | 2 ++ > include/dt-bindings/power/owl-s900-powergate.h | 23 ++++++++++++++++++++++ > 2 files changed, 25 insertions(+) > create mode 100644 include/dt-bindings/power/owl-s900-powergate.h > > diff --git a/Documentation/devicetree/bindings/power/actions,owl-sps.txt b/Documentation/devicetree/bindings/power/actions,owl-sps.txt > index 78edd63641e8..a3571937b019 100644 > --- a/Documentation/devicetree/bindings/power/actions,owl-sps.txt > +++ b/Documentation/devicetree/bindings/power/actions,owl-sps.txt > @@ -3,11 +3,13 @@ Actions Semi Owl Smart Power System (SPS) > Required properties: > - compatible : "actions,s500-sps" for S500 > "actions,s700-sps" for S700 > + "actions,s900-sps" for S900 > - reg : Offset and length of the register set for the device. > - #power-domain-cells : Must be 1. > See macros in: > include/dt-bindings/power/owl-s500-powergate.h for S500 > include/dt-bindings/power/owl-s700-powergate.h for S700 > + include/dt-bindings/power/owl-s900-powergate.h for S900 > > > Example: > diff --git a/include/dt-bindings/power/owl-s900-powergate.h b/include/dt-bindings/power/owl-s900-powergate.h > new file mode 100644 > index 000000000000..f1aaf761112b > --- /dev/null > +++ b/include/dt-bindings/power/owl-s900-powergate.h > @@ -0,0 +1,23 @@ > +// SPDX-License-Identifier: GPL-2.0+ checkpatch.pl warns about this line due to not using /* ... */ syntax for headers. I could fix that up on my own, but it made me realize that you are licensing this file under GPL-2.0+ only, whereas the .dts[i] is supposed to be dual-licensed. Can you please give your consent to make this /* SPDX-License-Identifier: (GPL-2.0+ OR MIT) */ like my S500 and S700 bindings? Question: Should it still be GPL-2.0+ or the new GPL-2.0-or-later? Otherwise looks fine, except that I'll need a topic branch (v4.19/s900-sps-bindings) if we want to merge the driver portion at the same time. Regards, Andreas > +/* > + * Actions Semi S900 SPS > + * > + * Copyright (c) 2018 Linaro Ltd. > + */ > +#ifndef DT_BINDINGS_POWER_OWL_S900_POWERGATE_H > +#define DT_BINDINGS_POWER_OWL_S900_POWERGATE_H > + > +#define S900_PD_GPU_B 0 > +#define S900_PD_VCE 1 > +#define S900_PD_SENSOR 2 > +#define S900_PD_VDE 3 > +#define S900_PD_HDE 4 > +#define S900_PD_USB3 5 > +#define S900_PD_DDR0 6 > +#define S900_PD_DDR1 7 > +#define S900_PD_DE 8 > +#define S900_PD_NAND 9 > +#define S900_PD_USB2_H0 10 > +#define S900_PD_USB2_H1 11 > + > +#endif > -- SUSE Linux GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany GF: Felix Imendörffer, Jane Smithard, Graham Norton HRB 21284 (AG Nürnberg)