Received: by 2002:a05:6358:489b:b0:bb:da1:e618 with SMTP id x27csp269553rwn; Wed, 14 Sep 2022 20:38:30 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4wyMtrsBYfO0vWPjUvqCWG+rv4W3YrfkaFzObaoeibVzyjZs0DMraUFGWtuJ6UvBNyPCIN X-Received: by 2002:a17:902:ef50:b0:171:516d:d2ce with SMTP id e16-20020a170902ef5000b00171516dd2cemr2112566plx.171.1663213110277; Wed, 14 Sep 2022 20:38:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1663213110; cv=none; d=google.com; s=arc-20160816; b=Ou7hcfpwZ8BEHPtT5IhCBrLZD23aftYSaBc6qccHsdL/hQLV3UcZzkoSHBSwDeXe1n 47fk4i2oXsa9zjlG7cxEU7QA2uA8OEMcAFNWi+XXwdgybPpwo0591a1KxtRP870HsJVQ Z4HTDLnrSXADJbHufwiXKUHe4fR2zlHF3ITKAqyfE7m6rFqIbXxY3DURMaBImG1CBwi1 ciM1phIiaglVuIwDwrh0sdeotNQMnAqyt/rHh0O5e+dONCsE7Fwyf6s8F8iEfAM7g9zy KtZp43Uk085r17b+oPADvDFf9vHBU+A6lXmCEv21js5b7xl5NOjuwA48m9HLNg2oW2QV BOLA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=uJffsqDRUOivPZiC/tl2/T1Mr1z4G0FCt64C8blLYZ4=; b=xecqFiT0qPGkvPPStfht8YeFIXKLBZl6GmnS8arbQokDBRrepEPNE5u8vFdoj/rafa 1WQnzIffatp/rvu0ngedso6RUDT2zyL6ZLGvuqxMfgebCQJntmjK5PZi7BfFFZmydUMs OfyZBfdcDmhFpjVgrOvFk65eG91/F8MTwDpNGN0tLPcHWiMXvOE+LeiVf5ScdKalto11 hQ9clVOylCADqhUmJ1tsuR+nYanZQkIPyHws2f8WvPNH1Fjot5LVii9GDDDASC/7jt0V tWMPz0P/cJePm65YMzoyFSEIo6lDIDI1ikp5I58H/GtcO6lRlDeD+T/LSsCxecya/c+8 Qbow== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=VeguLffC; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id n3-20020a632703000000b004350c760e5csi18454291pgn.399.2022.09.14.20.38.19; Wed, 14 Sep 2022 20:38:30 -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; dkim=pass header.i=@gmail.com header.s=20210112 header.b=VeguLffC; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230131AbiIODga (ORCPT + 99 others); Wed, 14 Sep 2022 23:36:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52400 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229499AbiIODg3 (ORCPT ); Wed, 14 Sep 2022 23:36:29 -0400 Received: from mail-qt1-x82d.google.com (mail-qt1-x82d.google.com [IPv6:2607:f8b0:4864:20::82d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E7E4A92F71; Wed, 14 Sep 2022 20:36:21 -0700 (PDT) Received: by mail-qt1-x82d.google.com with SMTP id g23so8138675qtu.2; Wed, 14 Sep 2022 20:36:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date; bh=uJffsqDRUOivPZiC/tl2/T1Mr1z4G0FCt64C8blLYZ4=; b=VeguLffCxfpspTiwdtq9UYKbMufW723noBqlOXGYv9kyyzX90xkv2vzm2I2PEPmJJO boAIMekRhBXHBG5vAF/QLtA3W9Gp+22wTwqels+K66SvO1fO9YieGqy6CVxr4Fk7F4BS KUTeULswMGfGvshWz45/zc8Jep/TmSo97GyH7V948bwu4qDtkN+ZeXR6U8urNPdbxjUm NbnwEFcxITV8IL1wfCvKNK4GRkZIq5quF3ntXhlP4AwfwWuZ4/6wejY4RmLfL2G1YoKZ rHKCYKu4YydlyPA348LQYnDMLm9Hjo4u//s0ftLmErPMSbCdVE8mY8bsou+HyL8nY4Rr +xWQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date; bh=uJffsqDRUOivPZiC/tl2/T1Mr1z4G0FCt64C8blLYZ4=; b=n0Yl+GBWlD4iJQMP4eKFSzq3WBqpsrRA5AHfPWVdNdn+h76Ip+AKDJMLcws9hKhjID waWlFEAG6p9xZ4zx1PHtjZYxX+6vDrPZJPlhY2wyRkltOQb9vs0a4TXLSBjdCk50piJT emDKWxr7+AqWoJjn2bsFyxlSSBreSiM+6qkABvqJ1euHUAoe9AY9xcNJVhZhPoWC/GWZ SGGPA0xEdqA4I3BlnYctltuJkN2eedBFeziHQSZiTFcNwXjsS6Ulks/wAdMow4EcLM9I bbW2UXkubVjoA7zMAFGNuyXn9HKjbiESsG5ajG/Ne6xy/y6ifJ4lqUCruBGQdUyG6A+P 3O6w== X-Gm-Message-State: ACgBeo3oarBA3iRDS1S4Ss42oBFvZ+ZPrCyfnXVPqYBAw78OV/fA4TaZ TtCEOvJkvhG4uG4pm6isvD1AKBXo9KK/q7e8OV4= X-Received: by 2002:a05:622a:164e:b0:35b:a852:52ca with SMTP id y14-20020a05622a164e00b0035ba85252camr21445333qtj.2.1663212980577; Wed, 14 Sep 2022 20:36:20 -0700 (PDT) MIME-Version: 1.0 References: <20220311060936.10663-1-JJLIU0@nuvoton.com> <20220311060936.10663-2-JJLIU0@nuvoton.com> <3f77c8c8-4bba-007b-fae9-5fb47f44719c@canonical.com> In-Reply-To: <3f77c8c8-4bba-007b-fae9-5fb47f44719c@canonical.com> From: Jim Liu Date: Thu, 15 Sep 2022 11:36:09 +0800 Message-ID: Subject: Re: [PATCH v1 1/3] dts: add Nuvoton sgpio feature To: Krzysztof Kozlowski Cc: JJLIU0@nuvoton.com, KWLIU@nuvoton.com, linus.walleij@linaro.org, brgl@bgdev.pl, robh+dt@kernel.org, avifishman70@gmail.com, tmaimon77@gmail.com, tali.perry1@gmail.com, venture@google.com, yuenn@google.com, benjaminfair@google.com, CTCCHIEN@nuvoton.com, linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, openbmc@lists.ozlabs.org Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham 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 Hi Krzysztof Kozlowski Thanks for your review. I am modifying this driver now, and i have some questions. what's mean "Generic node name." ? Nuvoton NPCM750 SGPIO module is base on serial to parallel IC (HC595) and parallel to serial IC (HC165). and dts node name is followed aspeed dts node name. Could you give more information?? Best regards, Jim On Fri, Mar 11, 2022 at 5:18 PM Krzysztof Kozlowski wrote: > > On 11/03/2022 07:09, jimliu2 wrote: > > add Nuvoton sgpio feature > > > > Signed-off-by: jimliu2 > > --- > > arch/arm/boot/dts/nuvoton-common-npcm7xx.dtsi | 30 +++++++++++++++++++ > > 1 file changed, 30 insertions(+) > > > > diff --git a/arch/arm/boot/dts/nuvoton-common-npcm7xx.dtsi b/arch/arm/boot/dts/nuvoton-common-npcm7xx.dtsi > > index 3696980a3da1..58f4b463c745 100644 > > --- a/arch/arm/boot/dts/nuvoton-common-npcm7xx.dtsi > > +++ b/arch/arm/boot/dts/nuvoton-common-npcm7xx.dtsi > > @@ -329,6 +329,36 @@ > > status = "disabled"; > > }; > > > > + sgpio1: sgpio@101000 { > > Generic node name. > > > + clocks = <&clk NPCM7XX_CLK_APB3>; > > + compatible = "nuvoton,npcm750-sgpio"; > > + interrupts = ; > > + gpio-controller; > > + #gpio-cells = <2>; > > + pinctrl-names = "default"; > > + pinctrl-0 = <&iox1_pins>; > > + bus-frequency = <16000000>; > > + nin_gpios = <64>; > > + nout_gpios = <64>; > > + reg = <0x101000 0x200>; > > In each node first goes compatible, then reg. > > Best regards, > Krzysztof