Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp3718496rwb; Tue, 8 Nov 2022 07:40:37 -0800 (PST) X-Google-Smtp-Source: AMsMyM6g8Pgk1qT+InS+7IP0hB45Ehdfwe7BO1r3gfyxPM9T1yS+bDmk8i2WzIuDL/M3qw7RS475 X-Received: by 2002:a05:6402:84d:b0:454:f41d:6ccf with SMTP id b13-20020a056402084d00b00454f41d6ccfmr56340792edz.129.1667922037028; Tue, 08 Nov 2022 07:40:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1667922037; cv=none; d=google.com; s=arc-20160816; b=ld+VlfI4csL6hMUzbXADWY8xUvyqvpUHzjJVC+T5f3x3JXmF9rKlesQiOPS7qw1a6+ RrOmUVRGz0BJSmX9Pg/KQLRpvY9d5IuN0TtKxNei1iT/MMIEjuLU6XoOqiT58iUrMV4/ Pvn5QvJnec7RUreHkfqKD5frozrS87zZ+CfN7yNO9w7iInrdD0gZADMiCQKUO5rf5huZ QytmPNCEcvdrR90I2NP7/BUiIXP/mdsdWHdI2+0CtOGXgZiySVG/q2niJ6daYuKxRcXw 6VH0BprkQtDoM9vZHdEH3M6QNJD33TK0ucyq/8GFEfB3WJ+dGUzlTzMrP2uirq5PyE8y QjtA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=9YFJOu0XDUwSMV4HlzPsBtzWFfjpA6oXKFrKM34sNA0=; b=Tv1LXy9ZC4XyhqK/C9GvkxMW6vl9LWejrxfHQDtbscJxX1VUxjCtpXPWUNUQqYXIcI 7Pgf7CfhPIOZDI77ct2HAg9KS8Zwq4dzVK1H2HmSKVl0bGNlLKfZZHRmufqX6O2TZSBc mJe0//EnvgGsQ0honmug0HMV4rGba56nfwRn2L5vhb/ftDkom46wxQzsubMvP7KtzcLP xwJtAg/EObC5tS1UZpiphRLUahu+GlNG+hSE4M9Kdfv+dM20B7snmnZ9cA02NtJdBr3j KTUMd2YJTtcjvO6K/iL10ZAsNEGChe/+Fj/jziPtrT5Evu+pFGCl0dp8LJyNkWF/k+c4 jfEg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=TXy8CXgs; 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=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id k17-20020a05640212d100b00461a7962c26si11050921edx.527.2022.11.08.07.40.14; Tue, 08 Nov 2022 07:40:37 -0800 (PST) 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=@linaro.org header.s=google header.b=TXy8CXgs; 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=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233665AbiKHPYH (ORCPT + 91 others); Tue, 8 Nov 2022 10:24:07 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48024 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234220AbiKHPYE (ORCPT ); Tue, 8 Nov 2022 10:24:04 -0500 Received: from mail-lf1-x12e.google.com (mail-lf1-x12e.google.com [IPv6:2a00:1450:4864:20::12e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 564E21B1ED for ; Tue, 8 Nov 2022 07:24:03 -0800 (PST) Received: by mail-lf1-x12e.google.com with SMTP id f37so21688916lfv.8 for ; Tue, 08 Nov 2022 07:24:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=9YFJOu0XDUwSMV4HlzPsBtzWFfjpA6oXKFrKM34sNA0=; b=TXy8CXgst6eQgVXCjpwFhkbq1sDFn8ZQ1os/Paiuc5v/850VElNA4oCq6839IbZyFB J+NTJ45xwMHQ0C4wlouPDhWflPkZwkkEnFtPtnY5qZhUQrptjq/cetkG8cba8RBoIOFo zwSyeiY10I97lPYfnQyMxGcAqp6P5nhIFk0dojMpiblZkDIVRwGJkbr+8Zp0YdDzpCSi MHKsC5yT8eMaP1bvFyrXXMvG5dk0HH6zXVpRfGPUYt82Azp7mTaZK1UfnRLdKGhtzjAw RZ6mcZW5K/FRkLA5Q+I5Py+bdE772ldICSEG4Fc/dxm69b1Ba9AXNkPgmbQxJAjvX5C6 s2mQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=9YFJOu0XDUwSMV4HlzPsBtzWFfjpA6oXKFrKM34sNA0=; b=QIury035QZ4gzPc9y6vJg+0XGnqs05SyAwKW9R7E4dXPa5UTPSr1OXfQjs26aCRETP 7yg1wXbZPWD+ouRSAFlugGp4zxuw64gLJDEth93HJqZKC2PuVOkoft2ty92KijHIk/Ar cxC7yENPisHu208YzLbbAon1SG3K/tvSA4SVNtTdp7nbiLcX8LAz4h9A+QI/mpZGfu3a YDpPw2BuvZDeSrQ+gYDxmrhMEcEfO2DgaYiJoqqLJpyUDMEETyUQRihrw6CCtZkZ8b4g PYsSjGU1BacD4lr9zoPdFGbzNPlJ4Dj99ABx+NYGRvCQm43I5PidBfI1GEMavtiX1AlS xo1g== X-Gm-Message-State: ACrzQf3MEU3n+nrBSjSqU5vV2biy4P0WL5RaJMeUl95qaPLkOXfVxIlu HKR/kFS44QG+rRzlv9y6gA7RmQ== X-Received: by 2002:a05:6512:54a:b0:4af:b4ac:c2bb with SMTP id h10-20020a056512054a00b004afb4acc2bbmr18867249lfl.650.1667921041714; Tue, 08 Nov 2022 07:24:01 -0800 (PST) Received: from [192.168.0.20] (088156142199.dynamic-2-waw-k-3-2-0.vectranet.pl. [88.156.142.199]) by smtp.gmail.com with ESMTPSA id c20-20020a056512075400b0048a9e18ae67sm1817239lfs.84.2022.11.08.07.24.00 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 08 Nov 2022 07:24:01 -0800 (PST) Message-ID: Date: Tue, 8 Nov 2022 16:24:00 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.2 Subject: Re: [PATCH v2 2/3] arm: dts: nuvoton: npcm7xx: add sgpio node Content-Language: en-US To: Jim Liu , JJLIU0@nuvoton.com, KWLIU@nuvoton.com, linus.walleij@linaro.org, brgl@bgdev.pl, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, openbmc@lists.ozlabs.org References: <20221108092840.14945-1-JJLIU0@nuvoton.com> <20221108092840.14945-3-JJLIU0@nuvoton.com> From: Krzysztof Kozlowski In-Reply-To: <20221108092840.14945-3-JJLIU0@nuvoton.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS 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 On 08/11/2022 10:28, Jim Liu wrote: > Add the SGPIO controller to the NPCM750 devicetree > > Signed-off-by: Jim Liu > --- > Changes for v2: > - modify dts node > --- > 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 c7b5ef15b716..9cac60734b57 100644 > --- a/arch/arm/boot/dts/nuvoton-common-npcm7xx.dtsi > +++ b/arch/arm/boot/dts/nuvoton-common-npcm7xx.dtsi > @@ -330,6 +330,36 @@ > status = "disabled"; > }; > > + sgpio1: sgpio@101000 { Node names should be generic. https://devicetree-specification.readthedocs.io/en/latest/chapter2-devicetree-basics.html#generic-names-recommendation > + compatible = "nuvoton,npcm750-sgpio"; > + reg = <0x101000 0x200>; > + clocks = <&clk NPCM7XX_CLK_APB3>; > + interrupts = ; > + bus-frequency = <16000000>; > + gpio-controller; > + #gpio-cells = <2>; > + pinctrl-names = "default"; > + pinctrl-0 = <&iox1_pins>; > + nin_gpios = <64>; > + nout_gpios = <64>; > + status = "disabled"; Why? What is missing from external resources? > + }; > + > + sgpio2: sgpio@102000 { Node names should be generic. https://devicetree-specification.readthedocs.io/en/latest/chapter2-devicetree-basics.html#generic-names-recommendation > + compatible = "nuvoton,npcm750-sgpio"; > + reg = <0x102000 0x200>; > + clocks = <&clk NPCM7XX_CLK_APB3>; > + interrupts = ; > + bus-frequency = <16000000>; > + gpio-controller; > + #gpio-cells = <2>; > + pinctrl-names = "default"; > + pinctrl-0 = <&iox2_pins>; > + nin_gpios = <64>; > + nout_gpios = <64>; > + status = "disabled"; Why? What is missing from external resources? Best regards, Krzysztof