From patchwork Mon Mar 8 17:09:36 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 12122985 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-15.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 900B0C4332B for ; Mon, 8 Mar 2021 17:09:58 +0000 (UTC) Received: by mail.kernel.org (Postfix) id 58A4B65240; Mon, 8 Mar 2021 17:09:58 +0000 (UTC) Received: from youngberry.canonical.com (youngberry.canonical.com [91.189.89.112]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id F2BAF65239 for ; Mon, 8 Mar 2021 17:09:57 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org F2BAF65239 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=canonical.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=krzysztof.kozlowski@canonical.com Received: from mail-wr1-f70.google.com ([209.85.221.70]) by youngberry.canonical.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1lJJOG-0003HZ-L8 for soc@kernel.org; Mon, 08 Mar 2021 17:09:56 +0000 Received: by mail-wr1-f70.google.com with SMTP id e13so5096872wrg.4 for ; Mon, 08 Mar 2021 09:09:56 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=ukC0JfJdbz8UciMbMC02R4iISKuzu012voJzqN/ruB0=; b=Uf2yPA/CKp7vieqhiJGmCjLmUdrHhBCC2PsuxjJrTvcwnuZifc9iyVAPKKydWsqOKf Sa913v1gsjydf4EHZaKo9SQY3cAFjhxKwi36MwBLWpealBcVLjKAYGeA/RUBLWzuUfyu EjzqGfrYbNxprOlKnKp+swOo3eS37EGfUEV505DVNOJzIYy4GbHeEeN2QtYQvisUUH2m OJ9zkIunOtJtsfpy/4HLTBt//RY7Mh+eyHOwqGOdQazXH+1jlZclCQn2c6LCvl4rOkIh PIZhhz4BKqd96jGJ3YwzIjuClF2Zk21jjwz9ZEjpoR7ZvnbFddk3S9E33AbiOstLYVZ5 8mqQ== X-Gm-Message-State: AOAM532ytzyXoYCrRq7BHOgjepCrleHiLO1inRRF0faJ02KRn8b8rdiO yLfQywqYSbWQ2EXKrfQjNNHGngXtA2zEgm/Q7hN2v0v5E/6rcSSe6dUbhcMbDUoUthWadff5uSl 0TWfw8icwp6A61TVv3AWzg4I= X-Received: by 2002:a1c:9a48:: with SMTP id c69mr22783952wme.157.1615223396321; Mon, 08 Mar 2021 09:09:56 -0800 (PST) X-Google-Smtp-Source: ABdhPJxg1tzEzl6V9B1Py+afG08QLfhRYQSYMhg4CheqNajHRwteoMi2lzjfEhuUWx8liPV8o2DNDw== X-Received: by 2002:a1c:9a48:: with SMTP id c69mr22783934wme.157.1615223396161; Mon, 08 Mar 2021 09:09:56 -0800 (PST) Received: from localhost.localdomain (adsl-84-226-167-205.adslplus.ch. [84.226.167.205]) by smtp.gmail.com with ESMTPSA id c11sm19568762wrs.28.2021.03.08.09.09.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 08 Mar 2021 09:09:55 -0800 (PST) From: Krzysztof Kozlowski List-Id: To: "Paul J. Murphy" , Daniele Alessandrelli , Rob Herring , Dinh Nguyen , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, arm@kernel.org, soc@kernel.org, Arnd Bergmann , Olof Johansson Cc: Krzysztof Kozlowski Subject: [RESEND 2nd PATCH 01/10] dt-bindings: arm: intel,keembay: limit the dtschema to root node Date: Mon, 8 Mar 2021 18:09:36 +0100 Message-Id: <20210308170945.161468-2-krzysztof.kozlowski@canonical.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210308170945.161468-1-krzysztof.kozlowski@canonical.com> References: <20210308170945.161468-1-krzysztof.kozlowski@canonical.com> MIME-Version: 1.0 From: Krzysztof Kozlowski The check for the board compatible should be limited only to the root node. Any other nodes with such compatible are not part of this schema and should not match. Signed-off-by: Krzysztof Kozlowski Acked-by: Daniele Alessandrelli Acked-by: Rob Herring --- Documentation/devicetree/bindings/arm/intel,keembay.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/intel,keembay.yaml b/Documentation/devicetree/bindings/arm/intel,keembay.yaml index 69cd30872928..107e686ab207 100644 --- a/Documentation/devicetree/bindings/arm/intel,keembay.yaml +++ b/Documentation/devicetree/bindings/arm/intel,keembay.yaml @@ -11,6 +11,8 @@ maintainers: - Daniele Alessandrelli properties: + $nodename: + const: '/' compatible: items: - enum: From patchwork Mon Mar 8 17:09:37 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 12122987 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-15.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5E698C433E0 for ; Mon, 8 Mar 2021 17:09:59 +0000 (UTC) Received: by mail.kernel.org (Postfix) id 1415665244; Mon, 8 Mar 2021 17:09:59 +0000 (UTC) Received: from youngberry.canonical.com (youngberry.canonical.com [91.189.89.112]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id CBC0565237 for ; Mon, 8 Mar 2021 17:09:58 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org CBC0565237 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=canonical.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=krzysztof.kozlowski@canonical.com Received: from mail-wr1-f70.google.com ([209.85.221.70]) by youngberry.canonical.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1lJJOH-0003IV-7w for soc@kernel.org; Mon, 08 Mar 2021 17:09:57 +0000 Received: by mail-wr1-f70.google.com with SMTP id m23so111659wrh.7 for ; Mon, 08 Mar 2021 09:09:57 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=C9i/YWiyyb5PdwLe3ZFYzqCtKS3WIBfWL6NqlaTWQyU=; b=RlMVKoIF1pGJafoM/2VSwdIe7UfyykYF9WoV4cLl1lEShlRcH95u2pcP078QJ0haHj CJ3srs5JZ3qzslMX3v0cy93wJ04Dr/zkYpZUUcoN9O5Mrr4KiKsPyJxNhqbXgT7hDxlL a96mOc07LDw4+YJWFxjyOujITjO+g/N3nnQ8nINWx3kfdqP29C5bFGzAE24htycrHz4u mkznZIuqQ5sIMTCD9qs6HAM0Aw8G5A3Subhdpl+2KotVJRhCathoilLwGV/RoqUn/Sr/ cDBGW4zGQtayAXZ9maQzp+xhRyNWEueTA5JHubY4ucLU6EHzZuRoQaPs63AyxJpuuTIW n2kg== X-Gm-Message-State: AOAM530DUCIuEv4zK5O6BLceC+Kcb6IrA8s6pJECFQfOmU0ggIRAWuCw +692I8szk7zZJN2msMKxffqJIKOtF8LaES/zhtZ1vS8sKbtOWuaiQgQtGnS/jMw5UorzdvnmBVB eXndpSOFWoyNa8rC7uWzVKmY= X-Received: by 2002:a05:600c:1550:: with SMTP id f16mr22923213wmg.97.1615223396993; Mon, 08 Mar 2021 09:09:56 -0800 (PST) X-Google-Smtp-Source: ABdhPJzWzaztVdULD9g4Zbto/QrUTn46X9bgseHYTyzXeTjQCkYwdkvR7xsi1fOdNe3rkKa5+Za85A== X-Received: by 2002:a05:600c:1550:: with SMTP id f16mr22923197wmg.97.1615223396876; Mon, 08 Mar 2021 09:09:56 -0800 (PST) Received: from localhost.localdomain (adsl-84-226-167-205.adslplus.ch. [84.226.167.205]) by smtp.gmail.com with ESMTPSA id c11sm19568762wrs.28.2021.03.08.09.09.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 08 Mar 2021 09:09:56 -0800 (PST) From: Krzysztof Kozlowski List-Id: To: "Paul J. Murphy" , Daniele Alessandrelli , Rob Herring , Dinh Nguyen , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, arm@kernel.org, soc@kernel.org, Arnd Bergmann , Olof Johansson Cc: Krzysztof Kozlowski Subject: [RESEND 2nd PATCH 02/10] arm64: dts: intel: socfpga: override clocks by label Date: Mon, 8 Mar 2021 18:09:37 +0100 Message-Id: <20210308170945.161468-3-krzysztof.kozlowski@canonical.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210308170945.161468-1-krzysztof.kozlowski@canonical.com> References: <20210308170945.161468-1-krzysztof.kozlowski@canonical.com> MIME-Version: 1.0 From: Krzysztof Kozlowski Using full paths to extend or override a device tree node is error prone. If there was a typo error, a new node will be created instead of extending the existing node. This will lead to run-time errors that could be hard to detect. A mistyped label on the other hand, will cause a dtc compile error (during build time). Signed-off-by: Krzysztof Kozlowski --- arch/arm64/boot/dts/intel/socfpga_agilex_socdk.dts | 12 ++++-------- .../boot/dts/intel/socfpga_agilex_socdk_nand.dts | 12 ++++-------- arch/arm64/boot/dts/intel/socfpga_n5x_socdk.dts | 12 ++++-------- 3 files changed, 12 insertions(+), 24 deletions(-) diff --git a/arch/arm64/boot/dts/intel/socfpga_agilex_socdk.dts b/arch/arm64/boot/dts/intel/socfpga_agilex_socdk.dts index a7a83f29f00b..f14a89ca8784 100644 --- a/arch/arm64/boot/dts/intel/socfpga_agilex_socdk.dts +++ b/arch/arm64/boot/dts/intel/socfpga_agilex_socdk.dts @@ -41,14 +41,6 @@ memory { /* We expect the bootloader to fill in the reg */ reg = <0 0 0 0>; }; - - soc { - clocks { - osc1 { - clock-frequency = <25000000>; - }; - }; - }; }; &gpio1 { @@ -92,6 +84,10 @@ &mmc { bus-width = <4>; }; +&osc1 { + clock-frequency = <25000000>; +}; + &uart0 { status = "okay"; }; diff --git a/arch/arm64/boot/dts/intel/socfpga_agilex_socdk_nand.dts b/arch/arm64/boot/dts/intel/socfpga_agilex_socdk_nand.dts index 979aa59a6bd0..58a827a5e83f 100644 --- a/arch/arm64/boot/dts/intel/socfpga_agilex_socdk_nand.dts +++ b/arch/arm64/boot/dts/intel/socfpga_agilex_socdk_nand.dts @@ -41,14 +41,6 @@ memory { /* We expect the bootloader to fill in the reg */ reg = <0 0 0 0>; }; - - soc { - clocks { - osc1 { - clock-frequency = <25000000>; - }; - }; - }; }; &gpio1 { @@ -121,6 +113,10 @@ partition@4280000 { }; }; +&osc1 { + clock-frequency = <25000000>; +}; + &uart0 { status = "okay"; }; diff --git a/arch/arm64/boot/dts/intel/socfpga_n5x_socdk.dts b/arch/arm64/boot/dts/intel/socfpga_n5x_socdk.dts index 5f56e2697fee..01f1307ce4ac 100644 --- a/arch/arm64/boot/dts/intel/socfpga_n5x_socdk.dts +++ b/arch/arm64/boot/dts/intel/socfpga_n5x_socdk.dts @@ -23,14 +23,6 @@ memory { /* We expect the bootloader to fill in the reg */ reg = <0 0 0 0>; }; - - soc { - clocks { - osc1 { - clock-frequency = <25000000>; - }; - }; - }; }; &clkmgr { @@ -44,6 +36,10 @@ &mmc { bus-width = <4>; }; +&osc1 { + clock-frequency = <25000000>; +}; + &uart0 { status = "okay"; }; From patchwork Mon Mar 8 17:09:38 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 12122989 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-15.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 82387C433DB for ; Mon, 8 Mar 2021 17:10:00 +0000 (UTC) Received: by mail.kernel.org (Postfix) id 4FEED6523B; Mon, 8 Mar 2021 17:10:00 +0000 (UTC) Received: from youngberry.canonical.com (youngberry.canonical.com [91.189.89.112]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 1CA246522F for ; Mon, 8 Mar 2021 17:10:00 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 1CA246522F Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=canonical.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=krzysztof.kozlowski@canonical.com Received: from mail-wm1-f70.google.com ([209.85.128.70]) by youngberry.canonical.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1lJJOI-0003JY-HM for soc@kernel.org; Mon, 08 Mar 2021 17:09:58 +0000 Received: by mail-wm1-f70.google.com with SMTP id o9so2284576wmq.9 for ; Mon, 08 Mar 2021 09:09:58 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=6bdm0sjGtk8ALuy1N/+43SmVtmn6LvoyCFMfDfYjuck=; b=DrIZyk2VTz/xog0VTbI19YMtD5dh6Dka7svSjk/4SFDOrjLPhpr4cKT/I8WqxFaapE 6htjlvNyKJ7NNzDH59QxEIyTIljLMHqDaOkQmWodCrk7khHldRc4F8xe+Zyfbt5bKEZl yC62zn7cnitCwXIlSa50t8inKL1RMpsbTKYSRkJiXDj/1iIUGIYCgga9vWI4B15KXRWX a+WiTCg2XyEeuXKGuRTvhrwf/XGlZbfhEZ8JmKE5kCZPh0Muc1nHrgfwlslV8gzw2SeN BVIkqPw0gXzzYx9aPhlxIbkS8S24dJ9IjdwJYvdvunGecCelZr2bZyvPu/KGebZKFdDg cHAA== X-Gm-Message-State: AOAM533pbKNmv3qIQmn6bpB18OQHvtiZ0srd46B9eEmWoXgKXTmN6mIJ rmwDDTWtETbI1t1/Yr/B6uA75kkrkBRb0ESWBAdlve1wO7D3qU/y5yVAeQFlZn0qmPPZvs47M2J EamBdsAfvllfv8gPO5/t5dO4= X-Received: by 2002:a7b:c316:: with SMTP id k22mr12209063wmj.176.1615223398177; Mon, 08 Mar 2021 09:09:58 -0800 (PST) X-Google-Smtp-Source: ABdhPJy/vaioWrZfMyz0ifoB5yEGjPUKvGhG+eDmZX8KoWdrhuVHiFg7sKbEpL2kmn7OTH+70AH7xA== X-Received: by 2002:a7b:c316:: with SMTP id k22mr12209049wmj.176.1615223398072; Mon, 08 Mar 2021 09:09:58 -0800 (PST) Received: from localhost.localdomain (adsl-84-226-167-205.adslplus.ch. [84.226.167.205]) by smtp.gmail.com with ESMTPSA id c11sm19568762wrs.28.2021.03.08.09.09.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 08 Mar 2021 09:09:57 -0800 (PST) From: Krzysztof Kozlowski List-Id: To: "Paul J. Murphy" , Daniele Alessandrelli , Rob Herring , Dinh Nguyen , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, arm@kernel.org, soc@kernel.org, Arnd Bergmann , Olof Johansson Cc: Krzysztof Kozlowski Subject: [RESEND 2nd PATCH 03/10] arm64: dts: intel: socfpga_agilex: move clocks out of soc node Date: Mon, 8 Mar 2021 18:09:38 +0100 Message-Id: <20210308170945.161468-4-krzysztof.kozlowski@canonical.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210308170945.161468-1-krzysztof.kozlowski@canonical.com> References: <20210308170945.161468-1-krzysztof.kozlowski@canonical.com> MIME-Version: 1.0 From: Krzysztof Kozlowski The clocks are usually not part of the SoC but provided on the board (external oscillators). Moving them out of soc node fixes dtc warning: arch/arm64/boot/dts/intel/socfpga_agilex.dtsi:111.10-137.5: Warning (simple_bus_reg): /soc/clocks: missing or empty reg/ranges property Signed-off-by: Krzysztof Kozlowski --- arch/arm64/boot/dts/intel/socfpga_agilex.dtsi | 56 +++++++++---------- 1 file changed, 28 insertions(+), 28 deletions(-) diff --git a/arch/arm64/boot/dts/intel/socfpga_agilex.dtsi b/arch/arm64/boot/dts/intel/socfpga_agilex.dtsi index 07c099b4ed5b..8f0736e4f3b5 100644 --- a/arch/arm64/boot/dts/intel/socfpga_agilex.dtsi +++ b/arch/arm64/boot/dts/intel/socfpga_agilex.dtsi @@ -87,6 +87,34 @@ intc: intc@fffc1000 { <0x0 0xfffc6000 0x0 0x2000>; }; + clocks { + cb_intosc_hs_div2_clk: cb-intosc-hs-div2-clk { + #clock-cells = <0>; + compatible = "fixed-clock"; + }; + + cb_intosc_ls_clk: cb-intosc-ls-clk { + #clock-cells = <0>; + compatible = "fixed-clock"; + }; + + f2s_free_clk: f2s-free-clk { + #clock-cells = <0>; + compatible = "fixed-clock"; + }; + + osc1: osc1 { + #clock-cells = <0>; + compatible = "fixed-clock"; + }; + + qspi_clk: qspi-clk { + #clock-cells = <0>; + compatible = "fixed-clock"; + clock-frequency = <200000000>; + }; + }; + soc { #address-cells = <1>; #size-cells = <1>; @@ -108,34 +136,6 @@ clkmgr: clock-controller@ffd10000 { #clock-cells = <1>; }; - clocks { - cb_intosc_hs_div2_clk: cb-intosc-hs-div2-clk { - #clock-cells = <0>; - compatible = "fixed-clock"; - }; - - cb_intosc_ls_clk: cb-intosc-ls-clk { - #clock-cells = <0>; - compatible = "fixed-clock"; - }; - - f2s_free_clk: f2s-free-clk { - #clock-cells = <0>; - compatible = "fixed-clock"; - }; - - osc1: osc1 { - #clock-cells = <0>; - compatible = "fixed-clock"; - }; - - qspi_clk: qspi-clk { - #clock-cells = <0>; - compatible = "fixed-clock"; - clock-frequency = <200000000>; - }; - }; - gmac0: ethernet@ff800000 { compatible = "altr,socfpga-stmmac-a10-s10", "snps,dwmac-3.74a", "snps,dwmac"; reg = <0xff800000 0x2000>; From patchwork Mon Mar 8 17:09:39 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 12122991 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-15.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id A5745C433E0 for ; Mon, 8 Mar 2021 17:10:01 +0000 (UTC) Received: by mail.kernel.org (Postfix) id 6E31A6524A; Mon, 8 Mar 2021 17:10:01 +0000 (UTC) Received: from youngberry.canonical.com (youngberry.canonical.com [91.189.89.112]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 111D165243 for ; Mon, 8 Mar 2021 17:10:01 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 111D165243 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=canonical.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=krzysztof.kozlowski@canonical.com Received: from mail-wm1-f69.google.com ([209.85.128.69]) by youngberry.canonical.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1lJJOJ-0003KC-Ip for soc@kernel.org; Mon, 08 Mar 2021 17:09:59 +0000 Received: by mail-wm1-f69.google.com with SMTP id n25so5224853wmk.1 for ; Mon, 08 Mar 2021 09:09:59 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=J8s41kTqsk18jArtcexwjcTxcMbClVKzru2/iOied3M=; b=sCtA8uo1p1uVHuFPy73ElZuU6af65bwPUMtmAob0tno+KBZ3lrDhc10iEvnr5VoXus 1Mm5h+Oitaaxo/fKpmXiHxU5Qwn++iI14y4HrkMDbV8Bgu0RYUNzdGFBzSneZ6LlFne3 38qSaerQs1qhzImA4xC986iWd6Gu/FcRMPQy8L0KxaeVKYY+/hdx4cCVACKdQQzsakkr 2gZQhTKdLcsAp4lJ1aaR/IkUZdcx/3RiPWQu1yMUimDxleDph/nhQ2QT6xC69KyqwDDd WTFTLMjhJCV7aZwnYljnv3m8aRJHhtLwimxKwar7T9rJc8P6g3BlIctDNjW1NKNIUEg/ xQ6g== X-Gm-Message-State: AOAM531wyeOMRX1aF7KJs6xoXR7xDl9lw6GVavHd2W7gy2Ea0Dd6h8LM ZyppiMzhMQBKoLY+ecIQulWhYAD4fCb4jNKP6VJrf2S5TbcqAxAPjS4VYBeFwqQY8wJSAG0bgZn +s0VBWK2L1FbNc/xziTpWBOQ= X-Received: by 2002:adf:e481:: with SMTP id i1mr8535890wrm.63.1615223399319; Mon, 08 Mar 2021 09:09:59 -0800 (PST) X-Google-Smtp-Source: ABdhPJzKn+XdN+3exyMy6wDRVvSJH0t5bhxIQlMvXRSWRbJA1ckNgQs8bb12LMytPb2HH9k3ivKNkA== X-Received: by 2002:adf:e481:: with SMTP id i1mr8535868wrm.63.1615223399142; Mon, 08 Mar 2021 09:09:59 -0800 (PST) Received: from localhost.localdomain (adsl-84-226-167-205.adslplus.ch. [84.226.167.205]) by smtp.gmail.com with ESMTPSA id c11sm19568762wrs.28.2021.03.08.09.09.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 08 Mar 2021 09:09:58 -0800 (PST) From: Krzysztof Kozlowski List-Id: To: "Paul J. Murphy" , Daniele Alessandrelli , Rob Herring , Dinh Nguyen , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, arm@kernel.org, soc@kernel.org, Arnd Bergmann , Olof Johansson Cc: Krzysztof Kozlowski Subject: [RESEND 2nd PATCH 04/10] arm64: dts: intel: socfpga_agilex: move timer out of soc node Date: Mon, 8 Mar 2021 18:09:39 +0100 Message-Id: <20210308170945.161468-5-krzysztof.kozlowski@canonical.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210308170945.161468-1-krzysztof.kozlowski@canonical.com> References: <20210308170945.161468-1-krzysztof.kozlowski@canonical.com> MIME-Version: 1.0 From: Krzysztof Kozlowski The ARM architected timer is part of ARM CPU design therefore by convention it should not be inside the soc node. This also fixes dtc warning like: arch/arm64/boot/dts/intel/socfpga_agilex.dtsi:410.9-416.5: Warning (simple_bus_reg): /soc/timer: missing or empty reg/ranges property Signed-off-by: Krzysztof Kozlowski --- arch/arm64/boot/dts/intel/socfpga_agilex.dtsi | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/arch/arm64/boot/dts/intel/socfpga_agilex.dtsi b/arch/arm64/boot/dts/intel/socfpga_agilex.dtsi index 8f0736e4f3b5..25882faccbdb 100644 --- a/arch/arm64/boot/dts/intel/socfpga_agilex.dtsi +++ b/arch/arm64/boot/dts/intel/socfpga_agilex.dtsi @@ -115,6 +115,15 @@ qspi_clk: qspi-clk { }; }; + timer { + compatible = "arm,armv8-timer"; + interrupt-parent = <&intc>; + interrupts = <1 13 0xf08>, + <1 14 0xf08>, + <1 11 0xf08>, + <1 10 0xf08>; + }; + soc { #address-cells = <1>; #size-cells = <1>; @@ -406,15 +415,6 @@ sysmgr: sysmgr@ffd12000 { reg = <0xffd12000 0x500>; }; - /* Local timer */ - timer { - compatible = "arm,armv8-timer"; - interrupts = <1 13 0xf08>, - <1 14 0xf08>, - <1 11 0xf08>, - <1 10 0xf08>; - }; - timer0: timer0@ffc03000 { compatible = "snps,dw-apb-timer"; interrupts = <0 113 4>; From patchwork Mon Mar 8 17:09:40 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 12122993 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-15.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 55847C433DB for ; Mon, 8 Mar 2021 17:10:02 +0000 (UTC) Received: by mail.kernel.org (Postfix) id 1877865243; Mon, 8 Mar 2021 17:10:02 +0000 (UTC) Received: from youngberry.canonical.com (youngberry.canonical.com [91.189.89.112]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id CDB3565230 for ; Mon, 8 Mar 2021 17:10:01 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org CDB3565230 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=canonical.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=krzysztof.kozlowski@canonical.com Received: from mail-wm1-f71.google.com ([209.85.128.71]) by youngberry.canonical.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1lJJOK-0003L0-FV for soc@kernel.org; Mon, 08 Mar 2021 17:10:00 +0000 Received: by mail-wm1-f71.google.com with SMTP id o9so2284603wmq.9 for ; Mon, 08 Mar 2021 09:10:00 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=U4pUbqXfXgnnLhDhksCamnOqM1YsLoMYiBC/1NCNg+0=; b=PoL+/gTY6/CICizebu/y3lywr4T0MbNeS6pbbkKuhkI/FgAgh09QGkm8FD1WAgyQJQ GFPKYKU8Mrsp0bqnHSLdG3wQokkZyOUu6akGKagBRbIzNHVxCrxrWTAVBllEWmu6e4uC XYXQ0iSU81u9w85DLe/F9w3y8QpfENN4GX/ap8/GMUYkpN0eh+16R4BNkyITn+YScTC7 Df11Y5BLwhslVInF6Kocvmzkg9rZl3I5IYBaTl0bKsW49HB3sMxC4pi51Kc05O3ULIsz 46pZlaUECZVsdgzDtmIh5Y+Ha8Lr0yuKGPt8D3TLKU9K4M1DRnwAcPID5yJzqQXvuLxH We0g== X-Gm-Message-State: AOAM5325TTxrCcEzw3o0zHn5WCRw3z20rXz0cSNtD+VSkFbtDcyxh/pP huRieaaWY6OO4CjuSK570xQMa7rW5a5tuxf2jGvgfsoA2zzmpv6uZ/aFqwByajDc/N4QqvUmZwh DnWfkCPpj4/9p2kVdwWagan8= X-Received: by 2002:a7b:c0d5:: with SMTP id s21mr23367774wmh.30.1615223400279; Mon, 08 Mar 2021 09:10:00 -0800 (PST) X-Google-Smtp-Source: ABdhPJzDoAApcr5gaPCMJBgkDD5QBgXndL+LmIS5tK2e0cy377KXLKCREY1WOwOMtQJZ38tBp1Z3Nw== X-Received: by 2002:a7b:c0d5:: with SMTP id s21mr23367768wmh.30.1615223400166; Mon, 08 Mar 2021 09:10:00 -0800 (PST) Received: from localhost.localdomain (adsl-84-226-167-205.adslplus.ch. [84.226.167.205]) by smtp.gmail.com with ESMTPSA id c11sm19568762wrs.28.2021.03.08.09.09.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 08 Mar 2021 09:09:59 -0800 (PST) From: Krzysztof Kozlowski List-Id: To: "Paul J. Murphy" , Daniele Alessandrelli , Rob Herring , Dinh Nguyen , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, arm@kernel.org, soc@kernel.org, Arnd Bergmann , Olof Johansson Cc: Krzysztof Kozlowski Subject: [RESEND 2nd PATCH 05/10] arm64: dts: intel: socfpga_agilex: remove default status=okay Date: Mon, 8 Mar 2021 18:09:40 +0100 Message-Id: <20210308170945.161468-6-krzysztof.kozlowski@canonical.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210308170945.161468-1-krzysztof.kozlowski@canonical.com> References: <20210308170945.161468-1-krzysztof.kozlowski@canonical.com> MIME-Version: 1.0 From: Krzysztof Kozlowski New nodes are okay by default. Signed-off-by: Krzysztof Kozlowski --- arch/arm64/boot/dts/intel/socfpga_agilex.dtsi | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/arm64/boot/dts/intel/socfpga_agilex.dtsi b/arch/arm64/boot/dts/intel/socfpga_agilex.dtsi index 25882faccbdb..f46d678ba775 100644 --- a/arch/arm64/boot/dts/intel/socfpga_agilex.dtsi +++ b/arch/arm64/boot/dts/intel/socfpga_agilex.dtsi @@ -472,7 +472,6 @@ uart1: serial1@ffc02100 { usbphy0: usbphy@0 { #phy-cells = <0>; compatible = "usb-nop-xceiv"; - status = "okay"; }; usb0: usb@ffb00000 { From patchwork Mon Mar 8 17:09:41 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 12122995 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-15.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id A1888C433E6 for ; Mon, 8 Mar 2021 17:10:03 +0000 (UTC) Received: by mail.kernel.org (Postfix) id 699476523F; Mon, 8 Mar 2021 17:10:03 +0000 (UTC) Received: from youngberry.canonical.com (youngberry.canonical.com [91.189.89.112]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 1A47C6523A for ; Mon, 8 Mar 2021 17:10:03 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 1A47C6523A Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=canonical.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=krzysztof.kozlowski@canonical.com Received: from mail-wm1-f70.google.com ([209.85.128.70]) by youngberry.canonical.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1lJJOL-0003M2-Hi for soc@kernel.org; Mon, 08 Mar 2021 17:10:01 +0000 Received: by mail-wm1-f70.google.com with SMTP id m17so2280217wml.3 for ; Mon, 08 Mar 2021 09:10:01 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=k4L5ptXi6Ff8KPlgqMtzZ9yjH3MQlq6STx7WRAfv4xo=; b=jIzFLM/1Vs/GF5UlbcuY77yk5HRltxAsfdhA9iRxaoDPe3JpKBv0oLVOAdsgjZmYnO vBHryYvvSeEx4cl7MmVQ6fvLR+5FhoQwptk1oWu76fhXX9WheF1zdos190kXcjjV+3I7 /hcaHxUk5Vhr+2V1T5WeyqjGcboXB8waVWP1uT6ILSA51T95XQubMkEUrayyIN2lgklk DEBTycOWzUTbnrwgdhYq/LzuQpE/XWk8N8egK8euGF5M2QsUQMHUGmOvW0P663KkHWIp T+ywngAIFneZZB9MNbaLsLUOZRmZm4IatEjtHj+i0bx7Xl0N99fHfFvR6mucyZ7YJ1aM CKDA== X-Gm-Message-State: AOAM532FD/QTJDKeaM6Mo8bncLAEvB277gZWF1ByCEAqazTfgwX1wwfA rtXb2+yGOFHMzU6q99n0fTNpA/zDVXaUPCCMda4cf/Uy0lalzT15AnN91osEHVg+gNJ/kjOWsuj puPk6FPoe9bp7XVZqeEndnj4= X-Received: by 2002:adf:fe09:: with SMTP id n9mr24158669wrr.104.1615223401334; Mon, 08 Mar 2021 09:10:01 -0800 (PST) X-Google-Smtp-Source: ABdhPJyPagpGsVnOaCHQeGSb/PwYZWcGo1SGrv+aPP1pQ4LRem2ryUxhQF1clMRSwozlnOT1O+X2Xg== X-Received: by 2002:adf:fe09:: with SMTP id n9mr24158648wrr.104.1615223401185; Mon, 08 Mar 2021 09:10:01 -0800 (PST) Received: from localhost.localdomain (adsl-84-226-167-205.adslplus.ch. [84.226.167.205]) by smtp.gmail.com with ESMTPSA id c11sm19568762wrs.28.2021.03.08.09.10.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 08 Mar 2021 09:10:00 -0800 (PST) From: Krzysztof Kozlowski List-Id: To: "Paul J. Murphy" , Daniele Alessandrelli , Rob Herring , Dinh Nguyen , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, arm@kernel.org, soc@kernel.org, Arnd Bergmann , Olof Johansson Cc: Krzysztof Kozlowski Subject: [RESEND 2nd PATCH 06/10] arm64: dts: intel: socfpga_agilex: move usbphy out of soc node Date: Mon, 8 Mar 2021 18:09:41 +0100 Message-Id: <20210308170945.161468-7-krzysztof.kozlowski@canonical.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210308170945.161468-1-krzysztof.kozlowski@canonical.com> References: <20210308170945.161468-1-krzysztof.kozlowski@canonical.com> MIME-Version: 1.0 From: Krzysztof Kozlowski The usual usb-nop-xceiv USB phy node should be under root node, to fix dtc warning: arch/arm64/boot/dts/intel/socfpga_agilex.dtsi:472.21-476.5: Warning (simple_bus_reg): /soc/usbphy@0: missing or empty reg/ranges property Signed-off-by: Krzysztof Kozlowski --- arch/arm64/boot/dts/intel/socfpga_agilex.dtsi | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/arch/arm64/boot/dts/intel/socfpga_agilex.dtsi b/arch/arm64/boot/dts/intel/socfpga_agilex.dtsi index f46d678ba775..103de0a91e60 100644 --- a/arch/arm64/boot/dts/intel/socfpga_agilex.dtsi +++ b/arch/arm64/boot/dts/intel/socfpga_agilex.dtsi @@ -124,6 +124,11 @@ timer { <1 10 0xf08>; }; + usbphy0: usbphy { + #phy-cells = <0>; + compatible = "usb-nop-xceiv"; + }; + soc { #address-cells = <1>; #size-cells = <1>; @@ -469,11 +474,6 @@ uart1: serial1@ffc02100 { status = "disabled"; }; - usbphy0: usbphy@0 { - #phy-cells = <0>; - compatible = "usb-nop-xceiv"; - }; - usb0: usb@ffb00000 { compatible = "snps,dwc2"; reg = <0xffb00000 0x40000>; From patchwork Mon Mar 8 17:09:42 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 12122997 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-15.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0F8B2C433E0 for ; Mon, 8 Mar 2021 17:10:05 +0000 (UTC) Received: by mail.kernel.org (Postfix) id D952365235; Mon, 8 Mar 2021 17:10:04 +0000 (UTC) Received: from youngberry.canonical.com (youngberry.canonical.com [91.189.89.112]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 78BD76523A for ; Mon, 8 Mar 2021 17:10:04 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 78BD76523A Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=canonical.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=krzysztof.kozlowski@canonical.com Received: from mail-wm1-f69.google.com ([209.85.128.69]) by youngberry.canonical.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1lJJON-0003Oq-3F for soc@kernel.org; Mon, 08 Mar 2021 17:10:03 +0000 Received: by mail-wm1-f69.google.com with SMTP id v5so5231000wml.9 for ; Mon, 08 Mar 2021 09:10:03 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=uGDmNqP298BifWR5Lx5XBSyUzvBJTAE3fvnhmNE/bEg=; b=dQuMaUE5j/O1wapXqxgQB7Oa8socb3QJ59XugHhMMrRvS/A0PKJABNPJ8dWZ7EBvAB ev7ypZ0qpMmp7gOcE+Gs0QeuMydeen4QpW5hTbbmMkQpQJIVgZUFmRFsi8WFvMIG6fAy tQkGzFZX+SMTPNOUottPYWIDrElrRZO3Tqs8xx0+td1VzsrAK/wVP73G1gtgCOcvwBuu mMR4qdwiiBZkdMExkUrsANnDeSemXvpo3kaNhs/T0yfUi1N7D9sNhDK3LsG46lTTwaTg uLflgBMoLbyk9IlcSFrsWkImASolTsGkDLlEtKy9QbKg1RO8gb2kPe7cyoWQ/zv0tcXF N5RA== X-Gm-Message-State: AOAM530XGdcRSgpye4fUKYCtSwvdtackwrSutfFXYqBW+Fhiqr9XBtIG Mr9GLXoewzplNtLS5kDhc6amw/442mu56cQswM1wjIB7Onw+9++b4D18NHfAmMxtIsKQED5SWFH JDQQOYEcx3onq5GkaS6djv78= X-Received: by 2002:a7b:c34a:: with SMTP id l10mr4673250wmj.46.1615223402612; Mon, 08 Mar 2021 09:10:02 -0800 (PST) X-Google-Smtp-Source: ABdhPJxQ6UzXc9eUYaJw4EJvQvubPb3Ki2V2NPYZvVo6DhFDR4/iaWzERBxYt8Qe6KAvitnozv9y8A== X-Received: by 2002:a7b:c34a:: with SMTP id l10mr4673227wmj.46.1615223402373; Mon, 08 Mar 2021 09:10:02 -0800 (PST) Received: from localhost.localdomain (adsl-84-226-167-205.adslplus.ch. [84.226.167.205]) by smtp.gmail.com with ESMTPSA id c11sm19568762wrs.28.2021.03.08.09.10.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 08 Mar 2021 09:10:01 -0800 (PST) From: Krzysztof Kozlowski List-Id: To: "Paul J. Murphy" , Daniele Alessandrelli , Rob Herring , Dinh Nguyen , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, arm@kernel.org, soc@kernel.org, Arnd Bergmann , Olof Johansson Cc: Krzysztof Kozlowski Subject: [RESEND 2nd PATCH 07/10] arm64: dts: intel: socfpga_agilex: use defined for GIC interrupts Date: Mon, 8 Mar 2021 18:09:42 +0100 Message-Id: <20210308170945.161468-8-krzysztof.kozlowski@canonical.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210308170945.161468-1-krzysztof.kozlowski@canonical.com> References: <20210308170945.161468-1-krzysztof.kozlowski@canonical.com> MIME-Version: 1.0 From: Krzysztof Kozlowski Use human-readable defines for GIC interrupt type and flag, instead of hard-coding the numbers. It makes review easier. No functional change. Signed-off-by: Krzysztof Kozlowski --- arch/arm64/boot/dts/intel/socfpga_agilex.dtsi | 137 +++++++++++------- 1 file changed, 82 insertions(+), 55 deletions(-) diff --git a/arch/arm64/boot/dts/intel/socfpga_agilex.dtsi b/arch/arm64/boot/dts/intel/socfpga_agilex.dtsi index 103de0a91e60..3cba4c03d560 100644 --- a/arch/arm64/boot/dts/intel/socfpga_agilex.dtsi +++ b/arch/arm64/boot/dts/intel/socfpga_agilex.dtsi @@ -6,6 +6,7 @@ /dts-v1/; #include #include +#include #include / { @@ -61,10 +62,10 @@ cpu3: cpu@3 { pmu { compatible = "arm,armv8-pmuv3"; - interrupts = <0 170 4>, - <0 171 4>, - <0 172 4>, - <0 173 4>; + interrupts = , + , + , + ; interrupt-affinity = <&cpu0>, <&cpu1>, <&cpu2>, @@ -118,10 +119,10 @@ qspi_clk: qspi-clk { timer { compatible = "arm,armv8-timer"; interrupt-parent = <&intc>; - interrupts = <1 13 0xf08>, - <1 14 0xf08>, - <1 11 0xf08>, - <1 10 0xf08>; + interrupts = , + , + , + ; }; usbphy0: usbphy { @@ -153,7 +154,7 @@ clkmgr: clock-controller@ffd10000 { gmac0: ethernet@ff800000 { compatible = "altr,socfpga-stmmac-a10-s10", "snps,dwmac-3.74a", "snps,dwmac"; reg = <0xff800000 0x2000>; - interrupts = <0 90 4>; + interrupts = ; interrupt-names = "macirq"; mac-address = [00 00 00 00 00 00]; resets = <&rst EMAC0_RESET>, <&rst EMAC0_OCP_RESET>; @@ -171,7 +172,7 @@ gmac0: ethernet@ff800000 { gmac1: ethernet@ff802000 { compatible = "altr,socfpga-stmmac-a10-s10", "snps,dwmac-3.74a", "snps,dwmac"; reg = <0xff802000 0x2000>; - interrupts = <0 91 4>; + interrupts = ; interrupt-names = "macirq"; mac-address = [00 00 00 00 00 00]; resets = <&rst EMAC1_RESET>, <&rst EMAC1_OCP_RESET>; @@ -189,7 +190,7 @@ gmac1: ethernet@ff802000 { gmac2: ethernet@ff804000 { compatible = "altr,socfpga-stmmac-a10-s10", "snps,dwmac-3.74a", "snps,dwmac"; reg = <0xff804000 0x2000>; - interrupts = <0 92 4>; + interrupts = ; interrupt-names = "macirq"; mac-address = [00 00 00 00 00 00]; resets = <&rst EMAC2_RESET>, <&rst EMAC2_OCP_RESET>; @@ -220,7 +221,7 @@ porta: gpio-controller@0 { reg = <0>; interrupt-controller; #interrupt-cells = <2>; - interrupts = <0 110 4>; + interrupts = ; }; }; @@ -240,7 +241,7 @@ portb: gpio-controller@0 { reg = <0>; interrupt-controller; #interrupt-cells = <2>; - interrupts = <0 111 4>; + interrupts = ; }; }; @@ -249,7 +250,7 @@ i2c0: i2c@ffc02800 { #size-cells = <0>; compatible = "snps,designware-i2c"; reg = <0xffc02800 0x100>; - interrupts = <0 103 4>; + interrupts = ; resets = <&rst I2C0_RESET>; clocks = <&clkmgr AGILEX_L4_SP_CLK>; status = "disabled"; @@ -260,7 +261,7 @@ i2c1: i2c@ffc02900 { #size-cells = <0>; compatible = "snps,designware-i2c"; reg = <0xffc02900 0x100>; - interrupts = <0 104 4>; + interrupts = ; resets = <&rst I2C1_RESET>; clocks = <&clkmgr AGILEX_L4_SP_CLK>; status = "disabled"; @@ -271,7 +272,7 @@ i2c2: i2c@ffc02a00 { #size-cells = <0>; compatible = "snps,designware-i2c"; reg = <0xffc02a00 0x100>; - interrupts = <0 105 4>; + interrupts = ; resets = <&rst I2C2_RESET>; clocks = <&clkmgr AGILEX_L4_SP_CLK>; status = "disabled"; @@ -282,7 +283,7 @@ i2c3: i2c@ffc02b00 { #size-cells = <0>; compatible = "snps,designware-i2c"; reg = <0xffc02b00 0x100>; - interrupts = <0 106 4>; + interrupts = ; resets = <&rst I2C3_RESET>; clocks = <&clkmgr AGILEX_L4_SP_CLK>; status = "disabled"; @@ -293,7 +294,7 @@ i2c4: i2c@ffc02c00 { #size-cells = <0>; compatible = "snps,designware-i2c"; reg = <0xffc02c00 0x100>; - interrupts = <0 107 4>; + interrupts = ; resets = <&rst I2C4_RESET>; clocks = <&clkmgr AGILEX_L4_SP_CLK>; status = "disabled"; @@ -304,7 +305,7 @@ mmc: dwmmc0@ff808000 { #size-cells = <0>; compatible = "altr,socfpga-dw-mshc"; reg = <0xff808000 0x1000>; - interrupts = <0 96 4>; + interrupts = ; fifo-depth = <0x400>; resets = <&rst SDMMC_RESET>; reset-names = "reset"; @@ -322,7 +323,7 @@ nand: nand@ffb90000 { reg = <0xffb90000 0x10000>, <0xffb80000 0x1000>; reg-names = "nand_data", "denali_reg"; - interrupts = <0 97 4>; + interrupts = ; clocks = <&clkmgr AGILEX_NAND_CLK>, <&clkmgr AGILEX_NAND_X_CLK>, <&clkmgr AGILEX_NAND_ECC_CLK>; @@ -339,15 +340,15 @@ ocram: sram@ffe00000 { pdma: pdma@ffda0000 { compatible = "arm,pl330", "arm,primecell"; reg = <0xffda0000 0x1000>; - interrupts = <0 81 4>, - <0 82 4>, - <0 83 4>, - <0 84 4>, - <0 85 4>, - <0 86 4>, - <0 87 4>, - <0 88 4>, - <0 89 4>; + interrupts = , + , + , + , + , + , + , + , + ; #dma-cells = <1>; #dma-channels = <8>; #dma-requests = <32>; @@ -369,17 +370,43 @@ smmu: iommu@fa000000 { #global-interrupts = <2>; #iommu-cells = <1>; interrupt-parent = <&intc>; - interrupts = <0 128 4>, /* Global Secure Fault */ - <0 129 4>, /* Global Non-secure Fault */ + /* Global Secure Fault */ + interrupts = , + /* Global Non-secure Fault */ + , /* Non-secure Context Interrupts (32) */ - <0 138 4>, <0 139 4>, <0 140 4>, <0 141 4>, - <0 142 4>, <0 143 4>, <0 144 4>, <0 145 4>, - <0 146 4>, <0 147 4>, <0 148 4>, <0 149 4>, - <0 150 4>, <0 151 4>, <0 152 4>, <0 153 4>, - <0 154 4>, <0 155 4>, <0 156 4>, <0 157 4>, - <0 158 4>, <0 159 4>, <0 160 4>, <0 161 4>, - <0 162 4>, <0 163 4>, <0 164 4>, <0 165 4>, - <0 166 4>, <0 167 4>, <0 168 4>, <0 169 4>; + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + ; stream-match-mask = <0x7ff0>; clocks = <&clkmgr AGILEX_MPU_CCU_CLK>, <&clkmgr AGILEX_L3_MAIN_FREE_CLK>, @@ -392,7 +419,7 @@ spi0: spi@ffda4000 { #address-cells = <1>; #size-cells = <0>; reg = <0xffda4000 0x1000>; - interrupts = <0 99 4>; + interrupts = ; resets = <&rst SPIM0_RESET>; reset-names = "spi"; reg-io-width = <4>; @@ -406,7 +433,7 @@ spi1: spi@ffda5000 { #address-cells = <1>; #size-cells = <0>; reg = <0xffda5000 0x1000>; - interrupts = <0 100 4>; + interrupts = ; resets = <&rst SPIM1_RESET>; reset-names = "spi"; reg-io-width = <4>; @@ -422,7 +449,7 @@ sysmgr: sysmgr@ffd12000 { timer0: timer0@ffc03000 { compatible = "snps,dw-apb-timer"; - interrupts = <0 113 4>; + interrupts = ; reg = <0xffc03000 0x100>; clocks = <&clkmgr AGILEX_L4_SP_CLK>; clock-names = "timer"; @@ -430,7 +457,7 @@ timer0: timer0@ffc03000 { timer1: timer1@ffc03100 { compatible = "snps,dw-apb-timer"; - interrupts = <0 114 4>; + interrupts = ; reg = <0xffc03100 0x100>; clocks = <&clkmgr AGILEX_L4_SP_CLK>; clock-names = "timer"; @@ -438,7 +465,7 @@ timer1: timer1@ffc03100 { timer2: timer2@ffd00000 { compatible = "snps,dw-apb-timer"; - interrupts = <0 115 4>; + interrupts = ; reg = <0xffd00000 0x100>; clocks = <&clkmgr AGILEX_L4_SP_CLK>; clock-names = "timer"; @@ -446,7 +473,7 @@ timer2: timer2@ffd00000 { timer3: timer3@ffd00100 { compatible = "snps,dw-apb-timer"; - interrupts = <0 116 4>; + interrupts = ; reg = <0xffd00100 0x100>; clocks = <&clkmgr AGILEX_L4_SP_CLK>; clock-names = "timer"; @@ -455,7 +482,7 @@ timer3: timer3@ffd00100 { uart0: serial0@ffc02000 { compatible = "snps,dw-apb-uart"; reg = <0xffc02000 0x100>; - interrupts = <0 108 4>; + interrupts = ; reg-shift = <2>; reg-io-width = <4>; resets = <&rst UART0_RESET>; @@ -466,7 +493,7 @@ uart0: serial0@ffc02000 { uart1: serial1@ffc02100 { compatible = "snps,dw-apb-uart"; reg = <0xffc02100 0x100>; - interrupts = <0 109 4>; + interrupts = ; reg-shift = <2>; reg-io-width = <4>; resets = <&rst UART1_RESET>; @@ -477,7 +504,7 @@ uart1: serial1@ffc02100 { usb0: usb@ffb00000 { compatible = "snps,dwc2"; reg = <0xffb00000 0x40000>; - interrupts = <0 93 4>; + interrupts = ; phys = <&usbphy0>; phy-names = "usb2-phy"; resets = <&rst USB0_RESET>, <&rst USB0_OCP_RESET>; @@ -490,7 +517,7 @@ usb0: usb@ffb00000 { usb1: usb@ffb40000 { compatible = "snps,dwc2"; reg = <0xffb40000 0x40000>; - interrupts = <0 94 4>; + interrupts = ; phys = <&usbphy0>; phy-names = "usb2-phy"; resets = <&rst USB1_RESET>, <&rst USB1_OCP_RESET>; @@ -503,7 +530,7 @@ usb1: usb@ffb40000 { watchdog0: watchdog@ffd00200 { compatible = "snps,dw-wdt"; reg = <0xffd00200 0x100>; - interrupts = <0 117 4>; + interrupts = ; resets = <&rst WATCHDOG0_RESET>; clocks = <&clkmgr AGILEX_L4_SYS_FREE_CLK>; status = "disabled"; @@ -512,7 +539,7 @@ watchdog0: watchdog@ffd00200 { watchdog1: watchdog@ffd00300 { compatible = "snps,dw-wdt"; reg = <0xffd00300 0x100>; - interrupts = <0 118 4>; + interrupts = ; resets = <&rst WATCHDOG1_RESET>; clocks = <&clkmgr AGILEX_L4_SYS_FREE_CLK>; status = "disabled"; @@ -521,7 +548,7 @@ watchdog1: watchdog@ffd00300 { watchdog2: watchdog@ffd00400 { compatible = "snps,dw-wdt"; reg = <0xffd00400 0x100>; - interrupts = <0 125 4>; + interrupts = ; resets = <&rst WATCHDOG2_RESET>; clocks = <&clkmgr AGILEX_L4_SYS_FREE_CLK>; status = "disabled"; @@ -530,7 +557,7 @@ watchdog2: watchdog@ffd00400 { watchdog3: watchdog@ffd00500 { compatible = "snps,dw-wdt"; reg = <0xffd00500 0x100>; - interrupts = <0 126 4>; + interrupts = ; resets = <&rst WATCHDOG3_RESET>; clocks = <&clkmgr AGILEX_L4_SYS_FREE_CLK>; status = "disabled"; @@ -547,7 +574,7 @@ eccmgr { altr,sysmgr-syscon = <&sysmgr>; #address-cells = <1>; #size-cells = <1>; - interrupts = <0 15 4>; + interrupts = ; interrupt-controller; #interrupt-cells = <2>; ranges; @@ -606,7 +633,7 @@ qspi: spi@ff8d2000 { #size-cells = <0>; reg = <0xff8d2000 0x100>, <0xff900000 0x100000>; - interrupts = <0 3 4>; + interrupts = ; cdns,fifo-depth = <128>; cdns,fifo-width = <4>; cdns,trigger-address = <0x00000000>; From patchwork Mon Mar 8 17:09:43 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 12122999 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-15.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id CD46BC433DB for ; Mon, 8 Mar 2021 17:10:05 +0000 (UTC) Received: by mail.kernel.org (Postfix) id 9AD176523A; Mon, 8 Mar 2021 17:10:05 +0000 (UTC) Received: from youngberry.canonical.com (youngberry.canonical.com [91.189.89.112]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 35B0A65245 for ; Mon, 8 Mar 2021 17:10:05 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 35B0A65245 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=canonical.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=krzysztof.kozlowski@canonical.com Received: from mail-wr1-f71.google.com ([209.85.221.71]) by youngberry.canonical.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1lJJON-0003P9-CU for soc@kernel.org; Mon, 08 Mar 2021 17:10:03 +0000 Received: by mail-wr1-f71.google.com with SMTP id i5so5101418wrp.8 for ; Mon, 08 Mar 2021 09:10:03 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=ncNIlFsguYiY4EF+KxnIV2xUChGRcZpDkfhtUUnJSss=; b=sKvtHRZ8BlDw34YTaciHQ5QMV7dPmQvNzC5wvLj4beCHIsjC70lTKGznm/FjhGeANz aHjTH02/PR0gVJuzIK0XtMc/irpa0NhbCdSt1IzfgpaNVuad2HbPcyyXaDrFmKy6dk5Q vjfxYuxrZ4cYT58YKlJcQOBgvRWEFFHomK7fDs01BitT2sn7Pao92lHO7tLbdCEbpYAE O1dWj8HrhGNktjZIzLoY47HazproH+EAkmTzLYuloy+oqLs7skc7SDgAXpYZcIiluNB9 EVL++qlLEmSzxsEskOyk1m0KfSGAEozeAtRl7O+BRhXz8/OrlcHsfjsphe2YRRhz8tWQ eqGA== X-Gm-Message-State: AOAM531M/MACOMnBFNaIIkkh/Pdx5lwZ5DDNyH0l5Gw1SCkBHnrWhW2T clPzn6AlJKztro44N4ioI7HvH7VfKIIVsBy/I3ttl/yp0cakTt69PE70U58f84QoUZYLqy26rEW W907iMlwXGvFl8YRvk54F9HM= X-Received: by 2002:a1c:6a05:: with SMTP id f5mr23064142wmc.75.1615223403147; Mon, 08 Mar 2021 09:10:03 -0800 (PST) X-Google-Smtp-Source: ABdhPJynHW0REjkwiR9tjpHrXCCFWLKx3SXjo9gDBvdZo+0uKZAhz3wSWTrLAfBYT39sHPr5aWe/nw== X-Received: by 2002:a1c:6a05:: with SMTP id f5mr23064130wmc.75.1615223403027; Mon, 08 Mar 2021 09:10:03 -0800 (PST) Received: from localhost.localdomain (adsl-84-226-167-205.adslplus.ch. [84.226.167.205]) by smtp.gmail.com with ESMTPSA id c11sm19568762wrs.28.2021.03.08.09.10.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 08 Mar 2021 09:10:02 -0800 (PST) From: Krzysztof Kozlowski List-Id: To: "Paul J. Murphy" , Daniele Alessandrelli , Rob Herring , Dinh Nguyen , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, arm@kernel.org, soc@kernel.org, Arnd Bergmann , Olof Johansson Cc: Krzysztof Kozlowski Subject: [RESEND 2nd PATCH 08/10] arm64: dts: intel: socfpga_agilex: align node names with dtschema Date: Mon, 8 Mar 2021 18:09:43 +0100 Message-Id: <20210308170945.161468-9-krzysztof.kozlowski@canonical.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210308170945.161468-1-krzysztof.kozlowski@canonical.com> References: <20210308170945.161468-1-krzysztof.kozlowski@canonical.com> MIME-Version: 1.0 From: Krzysztof Kozlowski Align the NAND, GIC and UART node names with dtschema to silence dtbs_check warnings like: arch/arm64/boot/dts/intel/socfpga_agilex_socdk.dt.yaml: intc@fffc1000: $nodename:0: 'intc@fffc1000' does not match '^interrupt-controller(@[0-9a-f,]+)*$' arch/arm64/boot/dts/intel/socfpga_agilex_socdk.dt.yaml: serial0@ffc02000: $nodename:0: 'serial0@ffc02000' does not match '^serial(@[0-9a-f,]+)*$' Signed-off-by: Krzysztof Kozlowski --- arch/arm64/boot/dts/intel/socfpga_agilex.dtsi | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/arm64/boot/dts/intel/socfpga_agilex.dtsi b/arch/arm64/boot/dts/intel/socfpga_agilex.dtsi index 3cba4c03d560..163f33b46e4f 100644 --- a/arch/arm64/boot/dts/intel/socfpga_agilex.dtsi +++ b/arch/arm64/boot/dts/intel/socfpga_agilex.dtsi @@ -78,7 +78,7 @@ psci { method = "smc"; }; - intc: intc@fffc1000 { + intc: interrupt-controller@fffc1000 { compatible = "arm,gic-400", "arm,cortex-a15-gic"; #interrupt-cells = <3>; interrupt-controller; @@ -316,7 +316,7 @@ mmc: dwmmc0@ff808000 { status = "disabled"; }; - nand: nand@ffb90000 { + nand: nand-controller@ffb90000 { #address-cells = <1>; #size-cells = <0>; compatible = "altr,socfpga-denali-nand"; @@ -479,7 +479,7 @@ timer3: timer3@ffd00100 { clock-names = "timer"; }; - uart0: serial0@ffc02000 { + uart0: serial@ffc02000 { compatible = "snps,dw-apb-uart"; reg = <0xffc02000 0x100>; interrupts = ; @@ -490,7 +490,7 @@ uart0: serial0@ffc02000 { clocks = <&clkmgr AGILEX_L4_SP_CLK>; }; - uart1: serial1@ffc02100 { + uart1: serial@ffc02100 { compatible = "snps,dw-apb-uart"; reg = <0xffc02100 0x100>; interrupts = ; From patchwork Mon Mar 8 17:09:44 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 12123001 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-15.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4411FC433E9 for ; Mon, 8 Mar 2021 17:10:07 +0000 (UTC) Received: by mail.kernel.org (Postfix) id 0C2FE65244; Mon, 8 Mar 2021 17:10:07 +0000 (UTC) Received: from youngberry.canonical.com (youngberry.canonical.com [91.189.89.112]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id C222565238 for ; Mon, 8 Mar 2021 17:10:06 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org C222565238 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=canonical.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=krzysztof.kozlowski@canonical.com Received: from mail-wm1-f70.google.com ([209.85.128.70]) by youngberry.canonical.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1lJJOO-0003RN-Ht for soc@kernel.org; Mon, 08 Mar 2021 17:10:05 +0000 Received: by mail-wm1-f70.google.com with SMTP id n25so5224968wmk.1 for ; Mon, 08 Mar 2021 09:10:04 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=8UIxmMoK7O3FkaOob5cP+/PnQ80rUSbfD+m9tRUlmEM=; b=XOuv4lTmEKbu8DhcFnWpxv2AFRz8k+BRPpwCX1YIox+QEQHDDq2hsXoE1fLQORdX32 NdQlhrPI+OL9IZSPFd1vNvMWbcyb77n7Qivlfx7Ue+B/+aMgep0nYFG6YUgEn2/5zN9u lXkEG4yVB4fMjQk95PuzY5Ouj7utvvw0UcooGpf0l1uaXxJm9t0gpg4hv8/f1rlxm/Ub R48nHOUMiksgYVQb9DA5Z0SM86HSfJakUbnYSEcqA4Zazj7Oc4PRkGm/pHjdMpPN+83V Wo9RdDlShaaih9YwLupm3G7lkjdxN98w/7WYU8p9F1+IJUfjNDkAndpkCr/FXrNcx8D7 1GZw== X-Gm-Message-State: AOAM533AZG17gaM8DCTVcE/efzi4bo9mGCDs0PObWM8+qXY71ULCq3E3 oJsJ39CWhrZGWJy7eugD/dSJzUyl0MO9KgCdcmF2fGjJ40xNX2w93NZOUk5PlBC9sp0LT9ebr1Y mrfTFNf5o6Le4gfc71hbwXnQ= X-Received: by 2002:a1c:7f84:: with SMTP id a126mr23492979wmd.151.1615223404290; Mon, 08 Mar 2021 09:10:04 -0800 (PST) X-Google-Smtp-Source: ABdhPJyXltzJ6sLx3WURNyl3beda2GfjyDZjIZYw/h31TUwo0blj0hc3a6mTF7dGhqg3KNsXa1WrGg== X-Received: by 2002:a1c:7f84:: with SMTP id a126mr23492962wmd.151.1615223404135; Mon, 08 Mar 2021 09:10:04 -0800 (PST) Received: from localhost.localdomain (adsl-84-226-167-205.adslplus.ch. [84.226.167.205]) by smtp.gmail.com with ESMTPSA id c11sm19568762wrs.28.2021.03.08.09.10.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 08 Mar 2021 09:10:03 -0800 (PST) From: Krzysztof Kozlowski List-Id: To: "Paul J. Murphy" , Daniele Alessandrelli , Rob Herring , Dinh Nguyen , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, arm@kernel.org, soc@kernel.org, Arnd Bergmann , Olof Johansson Cc: Krzysztof Kozlowski Subject: [RESEND 2nd PATCH 09/10] arm64: dts: intel: socfpga_agilex_socdk: align LED node names with dtschema Date: Mon, 8 Mar 2021 18:09:44 +0100 Message-Id: <20210308170945.161468-10-krzysztof.kozlowski@canonical.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210308170945.161468-1-krzysztof.kozlowski@canonical.com> References: <20210308170945.161468-1-krzysztof.kozlowski@canonical.com> MIME-Version: 1.0 From: Krzysztof Kozlowski Align the LED node names with dtschema to silence dtbs_check warnings like: leds: 'hps0', 'hps1', 'hps2' do not match any of the regexes: '(^led-[0-9a-f]$|led)', 'pinctrl-[0-9]+' Signed-off-by: Krzysztof Kozlowski --- arch/arm64/boot/dts/intel/socfpga_agilex_socdk.dts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/arm64/boot/dts/intel/socfpga_agilex_socdk.dts b/arch/arm64/boot/dts/intel/socfpga_agilex_socdk.dts index f14a89ca8784..13718ab5ed91 100644 --- a/arch/arm64/boot/dts/intel/socfpga_agilex_socdk.dts +++ b/arch/arm64/boot/dts/intel/socfpga_agilex_socdk.dts @@ -20,17 +20,17 @@ chosen { leds { compatible = "gpio-leds"; - hps0 { + led0 { label = "hps_led0"; gpios = <&portb 20 GPIO_ACTIVE_HIGH>; }; - hps1 { + led1 { label = "hps_led1"; gpios = <&portb 19 GPIO_ACTIVE_HIGH>; }; - hps2 { + led2 { label = "hps_led2"; gpios = <&portb 21 GPIO_ACTIVE_HIGH>; }; From patchwork Mon Mar 8 17:09:45 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 12123003 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-15.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 18780C433DB for ; Mon, 8 Mar 2021 17:10:08 +0000 (UTC) Received: by mail.kernel.org (Postfix) id E0F7865239; Mon, 8 Mar 2021 17:10:07 +0000 (UTC) Received: from youngberry.canonical.com (youngberry.canonical.com [91.189.89.112]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 7CE4465230 for ; Mon, 8 Mar 2021 17:10:07 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 7CE4465230 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=canonical.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=krzysztof.kozlowski@canonical.com Received: from mail-wr1-f71.google.com ([209.85.221.71]) by youngberry.canonical.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1lJJOQ-0003TH-3g for soc@kernel.org; Mon, 08 Mar 2021 17:10:06 +0000 Received: by mail-wr1-f71.google.com with SMTP id l10so5102070wry.16 for ; Mon, 08 Mar 2021 09:10:06 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=PW2gwp+ApGkfA4Yw2lCHp6cW3AKSzP0k9Br5Vr8VeB8=; b=da26jdzH7q7qMwS3GolpiqsQeT3PTSxH2tQZ3r2FvmgvODuba+4RfGuY9tzEqAeiI1 c2DBR+q5mp7w7ZC6wPernmR2BqNiQedPNRIz9hk1LeC3gNpTPNj+lKlSQimepkudH66E um3MUC0CVl8HDd0Kry+Qo0dcTzJHZr3OsdCUqNklu+QOnLlq4T9oVMamDH3VOgqSx4lb 2mECYISA/gZTqcwieRcdd6IthSRmBWVhDzoqns6+Fi9NBe1BfGGDjpu7wr67A28eCuFx RDbM26fXaKnWYqc3qkyqPI4OTz1E6TBcUXeGVNSTQ/k5WBTB24xNhPmZFmLue5FaQYJc Ny0g== X-Gm-Message-State: AOAM530W1Xm/BPgIuQMHMe7geU3n5ceKWUcD9ug/JGD/AoPG5Pcb+0u4 gcp4ajHlR1Bjic8f8xMcylBDp27VFSov1Hw+S9v77KCMKfp7wCqC++Nj9lf+XPCHbB5r8m+7+Vz G+Y2oJ3/u2YZx1d1sUWOM7Tc= X-Received: by 2002:a5d:4688:: with SMTP id u8mr23783108wrq.39.1615223405494; Mon, 08 Mar 2021 09:10:05 -0800 (PST) X-Google-Smtp-Source: ABdhPJyngFHucjuFwjLrIfUgXmRE9UU0tfjT6g7o8cF8UxJ/wVkfhO8iMRULHVDy+UA6+IGoMpCOwQ== X-Received: by 2002:a5d:4688:: with SMTP id u8mr23783090wrq.39.1615223405390; Mon, 08 Mar 2021 09:10:05 -0800 (PST) Received: from localhost.localdomain (adsl-84-226-167-205.adslplus.ch. [84.226.167.205]) by smtp.gmail.com with ESMTPSA id c11sm19568762wrs.28.2021.03.08.09.10.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 08 Mar 2021 09:10:04 -0800 (PST) From: Krzysztof Kozlowski List-Id: To: "Paul J. Murphy" , Daniele Alessandrelli , Rob Herring , Dinh Nguyen , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, arm@kernel.org, soc@kernel.org, Arnd Bergmann , Olof Johansson Cc: Krzysztof Kozlowski Subject: [RESEND 2nd PATCH 10/10] arm64: dts: intel: socfpga_agilex_socdk_nand: align LED node names with dtschema Date: Mon, 8 Mar 2021 18:09:45 +0100 Message-Id: <20210308170945.161468-11-krzysztof.kozlowski@canonical.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210308170945.161468-1-krzysztof.kozlowski@canonical.com> References: <20210308170945.161468-1-krzysztof.kozlowski@canonical.com> MIME-Version: 1.0 From: Krzysztof Kozlowski Align the LED node names with dtschema to silence dtbs_check warnings like: leds: 'hps0', 'hps1', 'hps2' do not match any of the regexes: '(^led-[0-9a-f]$|led)', 'pinctrl-[0-9]+' Signed-off-by: Krzysztof Kozlowski --- arch/arm64/boot/dts/intel/socfpga_agilex_socdk_nand.dts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/arm64/boot/dts/intel/socfpga_agilex_socdk_nand.dts b/arch/arm64/boot/dts/intel/socfpga_agilex_socdk_nand.dts index 58a827a5e83f..cc2dcabf34e3 100644 --- a/arch/arm64/boot/dts/intel/socfpga_agilex_socdk_nand.dts +++ b/arch/arm64/boot/dts/intel/socfpga_agilex_socdk_nand.dts @@ -20,17 +20,17 @@ chosen { leds { compatible = "gpio-leds"; - hps0 { + led0 { label = "hps_led0"; gpios = <&portb 20 GPIO_ACTIVE_HIGH>; }; - hps1 { + led1 { label = "hps_led1"; gpios = <&portb 19 GPIO_ACTIVE_HIGH>; }; - hps2 { + led2 { label = "hps_led2"; gpios = <&portb 21 GPIO_ACTIVE_HIGH>; };