Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp1779205rwi; Thu, 13 Oct 2022 20:06:43 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6N1USJ7SKmhOG4QYtmthd8z3TYSfPJ2TOiFJTiQbWtvTbl06dEP9oysWhJ3kROaiheaobO X-Received: by 2002:a17:90a:f2d7:b0:20a:68c7:1a09 with SMTP id gt23-20020a17090af2d700b0020a68c71a09mr3222969pjb.233.1665716803488; Thu, 13 Oct 2022 20:06:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1665716803; cv=none; d=google.com; s=arc-20160816; b=obq5X+0FW+ySDymmEuSAyYDJ/kXc2ZDIa9lJFXszA1stjAkEs+85CPwD8DiQGvPI7g E7Qv3RHT3yWecH4LDN1siS8WhUHfJD0ODnuMW9d6w9rJkO+QIpSAZXVvFqvhFIM9Ye8q dIYXhMnWRhSbp/YCpSlIKfzuN8CO6BD4yjKa/BgPkZbGWBW6x0UyrU4bNhyIlMhoAJs1 uJCN4FJWcITWtZrWj2gKS1YThhHcTCybsA3z1CxI98lMu3uJioR8x5dE/EBeP+CUAGPX NISrp/Xh8EYpvNb0jf7qwl4sXXutxtqSdR8i+pG+8xs7PJl23kmyTb+Z2XMF58PwUZnS igpQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:feedback-id:content-transfer-encoding :in-reply-to:from:references:cc:to:content-language:subject :user-agent:mime-version:date:message-id; bh=g3S2GK6vymEmp7xtAI38KCFcKfqO+a8P8UoS7rtMhls=; b=v+M6Qax0W0Dmg4Iz/CgNcz9LiMrMDDAORRf07oUKJgoqGQYxbwX7G1U2ELyVb4kwef hrpA28105onT+eGG0d6b+6mKUyAtsrf6IW+dYw4rlDwU304+aul4QxHbCAKsP2s9W0ih s6Vj4XG+C5hWEyCixbtJqUWt8SULaU1vAW2Fp/7CNNJEc5EuxKN7xgWkzjCVN3cmh+2p DqPt/AN8mIs9z7GByjRqcjyQd0o14OtFJBqQcXCbTnHb8MULSXn0XEgZ3D6+zrPdm7sJ TD8poo0ygcMZWS4aB+JQDS7aAE0MpKobj7wF7yrMTXR++Nxd9btMQhzMe0X3tFrBV07H ks0Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id mu7-20020a17090b388700b0020b1f42bf47si1671223pjb.112.2022.10.13.20.06.31; Thu, 13 Oct 2022 20:06:43 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229735AbiJNCFk (ORCPT + 99 others); Thu, 13 Oct 2022 22:05:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59610 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229511AbiJNCFi (ORCPT ); Thu, 13 Oct 2022 22:05:38 -0400 Received: from bg4.exmail.qq.com (bg4.exmail.qq.com [43.154.221.58]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DC78C14FD24; Thu, 13 Oct 2022 19:05:35 -0700 (PDT) X-QQ-mid: bizesmtp66t1665713125t0dqa2lu Received: from [192.168.50.235] ( [113.72.147.11]) by bizesmtp.qq.com (ESMTP) with id ; Fri, 14 Oct 2022 10:05:24 +0800 (CST) X-QQ-SSF: 01000000000000B09000000A0000000 X-QQ-FEAT: 2w1wQVt6itRSuTllDZ9c9Ncos8L/9I0A7xLMcJaSF7QfOTy00g1XU9/te0E+F u9+R5cNiUMb+3Gxnu/jD8XTWeJNgCEPTWzy+rsT//Kh6LYfRsZwdtcxaTcoD0ON+maBm+K2 oJV5WixWyamuOzzL1Vttws3ETFJ0i1LVuW3fv/J5BSJAOiKspFGGzhTskEWVCCMih9SPqjJ Cg041J/HHc+Rb/6NmNobZiZLHwUctb/P4TEtSPN9we9Lz02rplMZB0uAxa6KfvdRad9xXK+ MZS/lyqLVCJxm9r6rhz06SHHwEN1wiNcU/0ln0vPr68YN+a9RZWaojCNkpj7E53WYUxMoqn +EYoj3o1P4udrqrgjLeIDscuE7OORTnuaeIUPaeSLH+g2nn4/k= X-QQ-GoodBg: 0 Message-ID: <9A0A65FD121C76C0+be2a3620-d30f-b6ac-3241-89b40191030b@linux.starfivetech.com> Date: Fri, 14 Oct 2022 10:05:13 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.3.2 Subject: Re: [PATCH v1 26/30] pinctrl: starfive: Add StarFive JH7110 driver Content-Language: en-US To: Emil Renner Berthing Cc: Linus Walleij , Emil Renner Berthing , linux-riscv@lists.infradead.org, devicetree@vger.kernel.org, linux-clk@vger.kernel.org, linux-gpio@vger.kernel.org, Rob Herring , Krzysztof Kozlowski , Paul Walmsley , Palmer Dabbelt , Albert Ou , Daniel Lezcano , Thomas Gleixner , Marc Zyngier , Philipp Zabel , Stephen Boyd , Michael Turquette , linux-kernel@vger.kernel.org References: <20220929143225.17907-1-hal.feng@linux.starfivetech.com> <20220930074341.6386-1-hal.feng@linux.starfivetech.com> From: Hal Feng In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-QQ-SENDSIZE: 520 Feedback-ID: bizesmtp:linux.starfivetech.com:qybglogicsvr:qybglogicsvr2 X-Spam-Status: No, score=-0.8 required=5.0 tests=BAYES_00,FORGED_MUA_MOZILLA, NICE_REPLY_A,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_NONE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 5 Oct 2022 15:31:59 +0200, Emil Renner Berthing wrote: > On Tue, 4 Oct 2022 at 10:57, Linus Walleij wrote: > > > > On Fri, Sep 30, 2022 at 9:45 AM Hal Feng > > wrote: > > > > > From: Jianlong Huang > > > > > > Add pinctrl driver for StarFive JH7110 SoC. > > > > > > Signed-off-by: Jianlong Huang > > > Signed-off-by: Hal Feng > > > > Since Emil submitted the first driver I would really appreciate his review > > on this version. > > I tried really hard to come up with a good way to share code between > the JH7100 and JH7110 drivers, but so many details different on the > JH7110 that it's probably best to just have a separate driver, so that > part is fine. > > As mentioned elsewhere this driver certainly shouldn't be accepted > without following the generic pinctrl and pinmux bindings. You can see > the driver I wrote here: > https://github.com/esmil/linux/commit/c2633315385fef1a25aa3711facef07d915820e1 > > It is certainly not perfect and far from complete, but at least it > does follow the generic bindings. Feel free to copy all or parts of > that. Thanks for your great contribution! We will rewrite the pinctrl driver and bindings so make them follow the generic pinctrl framework. Best regards, Hal