From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751764AbdDHGnX (ORCPT ); Sat, 8 Apr 2017 02:43:23 -0400 Received: from szxga03-in.huawei.com ([45.249.212.189]:5405 "EHLO dggrg03-dlp.huawei.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1750857AbdDHGnP (ORCPT ); Sat, 8 Apr 2017 02:43:15 -0400 Subject: Re: [PATCH 1/2] arm64: dts: add drive-strength levels of pin for Hi3660 SoC To: Wang Xiaoyin , , , , , , , References: <20170330064803.18648-1-hw.wangxiaoyin@hisilicon.com> CC: From: Wei Xu Message-ID: <58E88658.20805@hisilicon.com> Date: Sat, 8 Apr 2017 14:42:32 +0800 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: <20170330064803.18648-1-hw.wangxiaoyin@hisilicon.com> Content-Type: text/plain; charset="windows-1252"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [10.57.100.116] X-CFilter-Loop: Reflected X-Mirapoint-Virus-RAPID-Raw: score=unknown(0), refid=str=0001.0A020202.58E88673.0025,ss=1,re=0.000,recu=0.000,reip=0.000,cl=1,cld=1,fgs=0, ip=0.0.0.0, so=2014-11-16 11:51:01, dmn=2013-03-21 17:37:32 X-Mirapoint-Loop-Id: 75532210b9445fc67920a60710b0763c Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Xiaoyin, On 2017/3/30 14:48, Wang Xiaoyin wrote: > Add drive-strength levels of pin for Hi3660 Soc. > > Signed-off-by: Wang Xiaoyin Thanks! Applied both to the hisilicon arm64 dt tree. Best Regards, Wei > --- > include/dt-bindings/pinctrl/hisi.h | 15 +++++++++++++++ > 1 file changed, 15 insertions(+) > > diff --git a/include/dt-bindings/pinctrl/hisi.h b/include/dt-bindings/pinctrl/hisi.h > index 38f1ea879ea1..0359bfdc9119 100644 > --- a/include/dt-bindings/pinctrl/hisi.h > +++ b/include/dt-bindings/pinctrl/hisi.h > @@ -56,4 +56,19 @@ > #define DRIVE4_08MA (4 << 4) > #define DRIVE4_10MA (6 << 4) > > +/* drive strength definition for hi3660 */ > +#define DRIVE6_MASK (15 << 4) > +#define DRIVE6_04MA (0 << 4) > +#define DRIVE6_12MA (4 << 4) > +#define DRIVE6_19MA (8 << 4) > +#define DRIVE6_27MA (10 << 4) > +#define DRIVE6_32MA (15 << 4) > +#define DRIVE7_02MA (0 << 4) > +#define DRIVE7_04MA (1 << 4) > +#define DRIVE7_06MA (2 << 4) > +#define DRIVE7_08MA (3 << 4) > +#define DRIVE7_10MA (4 << 4) > +#define DRIVE7_12MA (5 << 4) > +#define DRIVE7_14MA (6 << 4) > +#define DRIVE7_16MA (7 << 4) > #endif