Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id DB047C6FD1F for ; Tue, 14 Mar 2023 18:48:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231196AbjCNSsn (ORCPT ); Tue, 14 Mar 2023 14:48:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52438 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231134AbjCNSse (ORCPT ); Tue, 14 Mar 2023 14:48:34 -0400 Received: from mail-ed1-x52f.google.com (mail-ed1-x52f.google.com [IPv6:2a00:1450:4864:20::52f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5DD8AD505 for ; Tue, 14 Mar 2023 11:48:00 -0700 (PDT) Received: by mail-ed1-x52f.google.com with SMTP id eh3so10112493edb.11 for ; Tue, 14 Mar 2023 11:48:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1678819666; 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=+0E+xigiB17bD19Ft1OI4VkQ2MZYZmKweeBcvoB72Rs=; b=YigdWQIosMHQ0uwI6NV1qo/kEazE4MRaQrrBOJxvDfyalKd01D3gpanAoihY2FXpA9 mysNbShlD8d842l8t0mqZuTYOWtxrxcOZ5v0wT8yhW3dO37i50HRu6oXpAq3uO0foh/U 36ZPF+q1RkxcNJ524PfPe7zG4chguGaeE0PcvY/GA6GJrRlC+WVrS2UBMxzHgeFlpwNT uVLELKAylADqlNeh4FjoUDoJdo5n+Jl2lWrOyJGZZxCqoYEn/ZQiOelas847OQZ32s5K scJXd40Mh+CYb9goOkMGagbTuyopd9eLFxqTxpzyWrgygXCeW3aN22Sr7kPsHmKAterD wauw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678819666; 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=+0E+xigiB17bD19Ft1OI4VkQ2MZYZmKweeBcvoB72Rs=; b=FG5e/9JH9gUghF9xAaYE/kCZrQoVS/rLrbAP0Hs+5Sr2kQEePEvmdMPMKMeAUoh2KH Bp9R5KQb3/Q6uvTM7mIVhZPRIs4KgxW5lbk/zpDu2rQj+U+h4GOSDZkC9SQAojZhopUi vg7wZGXJlyrTASeSvE+14aTpiOEwhYsiop9LyX1ZR90Ep2vmWPwgTJphY4q/5kelK2vd m+l8G8U2rvVvMGvxRn9oATTQSjbIMlK8w4K33Przugz4bGy9DsLUXbNwv/0jP1sid/f2 TO/LCM4bjZ+bVviluPqEjf1FToHYxoTeISJPkbcnivLCYRRcPjjuoKhDS9spiplq7Zjo hftg== X-Gm-Message-State: AO0yUKWY8OLmKNojh3vnylczv/8c/iclcY28AAkHCgR8aVhwwuty1x4w P2BSBVpPZEyMVJKm7S5kADm2Ww== X-Google-Smtp-Source: AK7set/hrg4y2EF/d46uwVHqaUa/dmc95hxkjUEOoufHZs6dTSLU74yvmxmSKXK2LYRPOei8kPbWlA== X-Received: by 2002:aa7:dd0e:0:b0:4fa:ada1:796d with SMTP id i14-20020aa7dd0e000000b004faada1796dmr123531edv.10.1678819665954; Tue, 14 Mar 2023 11:47:45 -0700 (PDT) Received: from ?IPV6:2a02:810d:15c0:828:59be:4b3f:994b:e78c? ([2a02:810d:15c0:828:59be:4b3f:994b:e78c]) by smtp.gmail.com with ESMTPSA id m20-20020a509994000000b004aef147add6sm1445859edb.47.2023.03.14.11.47.44 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 14 Mar 2023 11:47:45 -0700 (PDT) Message-ID: <5c38d97d-af2a-51b5-7b4d-bac69321e5ad@linaro.org> Date: Tue, 14 Mar 2023 19:47:44 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.8.0 Subject: Re: [PATCH v5 2/3] arm: dts: nuvoton: npcm: Add sgpio feature 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: linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, openbmc@lists.ozlabs.org References: <20230314092311.8924-1-jim.t90615@gmail.com> <20230314092311.8924-3-jim.t90615@gmail.com> From: Krzysztof Kozlowski In-Reply-To: <20230314092311.8924-3-jim.t90615@gmail.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 14/03/2023 10:23, Jim Liu wrote: > Add the SGPIO controller to the NPCM7xx devicetree > > Signed-off-by: Jim Liu > --- > Changes for v5: > - remove npcm8xx node > Changes for v4: > - add npcm8xx gpio node > Changes for v3: > - modify node name > - modify in/out property name > 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..7f53774a01ec 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"; > }; > > + gpio8: gpio@101000 { > + compatible = "nuvoton,npcm750-sgpio"; > + reg = <0x101000 0x200>; > + clocks = <&clk NPCM7XX_CLK_APB3>; > + interrupts = ; > + bus-frequency = <8000000>; Does not look like you tested the bindings. Please run `make dt_binding_check` (see Documentation/devicetree/bindings/writing-schema.rst for instructions). > + gpio-controller; > + #gpio-cells = <2>; > + pinctrl-names = "default"; > + pinctrl-0 = <&iox1_pins>; > + nuvoton,input-ngpios = <64>; > + nuvoton,output-ngpios = <64>; > + status = "disabled"; > + }; > + > + gpio9: gpio@102000 { > + compatible = "nuvoton,npcm750-sgpio"; > + reg = <0x102000 0x200>; > + clocks = <&clk NPCM7XX_CLK_APB3>; > + interrupts = ; > + bus-frequency = <8000000>; Does not look like you tested the bindings. Please run `make dt_binding_check` (see Documentation/devicetree/bindings/writing-schema.rst for instructions). Best regards, Krzysztof