From patchwork Sat Jan 29 17:55:13 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 12729581 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id D70DBC433F5 for ; Sat, 29 Jan 2022 17:56:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=v/Ti+A4O3kLufTS0VgnJQ48FIvfIgmxOm7gtfUSYfLI=; b=lypePJdKjaDao6 8PruqwfP3IoP6cnv5mUCis2FdQ54yC0yRa+gvvtieGxJkf7qIYFVHNWc515yWj3xaBe7gJNB8PpRN UeULblUl7RW+zr36qJeDBsYmBB6TSBLbRj4mAgMUE4cigL29qafbjKfWmrA6erRP7tC+Wo2YSzdY6 fk3iuRViJNxphGomuYlY07UOEclv22+5v9xx5KJzO7tO9lhYQoSZrZPIKCfmCoYjHQDDSuhaF4F8C mdqsb4hH+tjPmuIyz8oXAZ6DNgiuep5gvnECps0elR0GYIQl81Tb0X+JMdbAuElznnmmKmNl93LsC FRAkiFpapj6LMaSNf/WQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nDrwd-005B9T-DU; Sat, 29 Jan 2022 17:55:29 +0000 Received: from smtp-relay-internal-0.canonical.com ([185.125.188.122]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nDrwT-005B6W-NK for linux-arm-kernel@lists.infradead.org; Sat, 29 Jan 2022 17:55:19 +0000 Received: from mail-ej1-f71.google.com (mail-ej1-f71.google.com [209.85.218.71]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-internal-0.canonical.com (Postfix) with ESMTPS id 871A43F1E9 for ; Sat, 29 Jan 2022 17:55:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1643478916; bh=yg1atMFOKuhX/WndrO9XvGAZ3mzrAMKZw3wcM5QHBAo=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=tYL6dCBK3w9CtE2bEGMXeDJFl5j+HUv3racEU7xovBdFrhaln+179W8V9Nce1rxUS +uJNNNqzSs/AC70VYHDgofg0unOwGDnaBzIf/a1X2bbcwqYc158sfvmfoArtX/GkMh lNFQfrNM7M79n/JGJhJbhiAw/oAfSeD77cuzOFXKThLJo0fi300FvgRi8h0qWrU41n F1aCT5Ti6lKfKy8SFefkTlOLvl1pYacRuCMVJV4CRHOPjFIEJsmu1YJKnf+UfR9QC9 PGXcReFWprbGqyneBsrLJ8m/XvOYlmr+RPkdGMaG28tE7oJAESXDh20UbR8X/KA8m1 JxxelYvaodcPQ== Received: by mail-ej1-f71.google.com with SMTP id lb14-20020a170907784e00b006aa178894fcso3798220ejc.6 for ; Sat, 29 Jan 2022 09:55:16 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=yg1atMFOKuhX/WndrO9XvGAZ3mzrAMKZw3wcM5QHBAo=; b=F1N7bv4dFW/oaaeOLvEnutMYL4uRHu6cpLVGiX2SLUGvQpzE0L5MIkDb1IhANeTJlP AE+Edlk0ptLPff3IyUDrzlBXp7gDD1us8wtmf0fYAczjfZNL8q4l2H8czq6t/6Vvazcp l6V/GvHqLvW4efKvQlAeC7RcuEnSfMSFrrGObORnrcZmenxN2+ijqEyPh7LWY0GJa4Fa 5pS51+KOx8fLzkz6FPOMvUrKrZ8mW++w6XDoW3mdQ5xT4jIGV1GZ0hK4P/t7Q/mXULzE CSr8kxIzrmhAgrhLvCTsHWJ4PzcUD0yGvdhkwyCEkGsN3YupVy9U2pLDGBFvGGvOqBO2 DK6A== X-Gm-Message-State: AOAM53277Z5eNGwnezWItvcU4VfzrpeC/mX6UOHg38a23x+035/i8+CZ VNCrzAOCpCHKY+FrXBQeSuNDH6BiA+tgrorCm6i6WA4a8dnv+59ucZc9Tx3WzkCn7XvnMlWRuta NEKNZaEkWOM8OUg3RHhMRtfSQ+D5ahz6LAUPvXz8VaMEUQeL9Q4OM X-Received: by 2002:aa7:cb42:: with SMTP id w2mr13798017edt.376.1643478916273; Sat, 29 Jan 2022 09:55:16 -0800 (PST) X-Google-Smtp-Source: ABdhPJygNErJ3S4S+TH/x3ZwH9juSmrAmpr5rpe5W1as6WfZP3lsGl/8H7qfWVjXtTHbIbGH92vtgg== X-Received: by 2002:aa7:cb42:: with SMTP id w2mr13798001edt.376.1643478916093; Sat, 29 Jan 2022 09:55:16 -0800 (PST) Received: from localhost.localdomain (xdsl-188-155-168-84.adslplus.ch. [188.155.168.84]) by smtp.gmail.com with ESMTPSA id x31sm14948762ede.26.2022.01.29.09.55.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 29 Jan 2022 09:55:15 -0800 (PST) From: Krzysztof Kozlowski To: Chanho Min , Rob Herring , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH 1/2] arm64: dts: lg: add dma-cells to pl330 node Date: Sat, 29 Jan 2022 18:55:13 +0100 Message-Id: <20220129175514.298942-1-krzysztof.kozlowski@canonical.com> X-Mailer: git-send-email 2.32.0 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220129_095517_925045_AACCA50E X-CRM114-Status: GOOD ( 11.99 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org dma-cells property is required for dma-controller. Fixes dtbs_check warnings like: dma@c1128000: '#dma-cells' is a required property Signed-off-by: Krzysztof Kozlowski Acked-by: Chanho Min --- arch/arm64/boot/dts/lg/lg1312.dtsi | 1 + arch/arm64/boot/dts/lg/lg1313.dtsi | 1 + 2 files changed, 2 insertions(+) diff --git a/arch/arm64/boot/dts/lg/lg1312.dtsi b/arch/arm64/boot/dts/lg/lg1312.dtsi index 081fe7a9f605..ef57df716f14 100644 --- a/arch/arm64/boot/dts/lg/lg1312.dtsi +++ b/arch/arm64/boot/dts/lg/lg1312.dtsi @@ -188,6 +188,7 @@ dmac0: dma@c1128000 { interrupts = ; clocks = <&clk_bus>; clock-names = "apb_pclk"; + #dma-cells = <1>; }; gpio0: gpio@fd400000 { #gpio-cells = <2>; diff --git a/arch/arm64/boot/dts/lg/lg1313.dtsi b/arch/arm64/boot/dts/lg/lg1313.dtsi index 604bb6975337..4e6b65939b72 100644 --- a/arch/arm64/boot/dts/lg/lg1313.dtsi +++ b/arch/arm64/boot/dts/lg/lg1313.dtsi @@ -188,6 +188,7 @@ dmac0: dma@c1128000 { interrupts = ; clocks = <&clk_bus>; clock-names = "apb_pclk"; + #dma-cells = <1>; }; gpio0: gpio@fd400000 { #gpio-cells = <2>; From patchwork Sat Jan 29 17:55:14 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 12729582 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id EA56AC433EF for ; Sat, 29 Jan 2022 17:57:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=w+M8Pnd0xX02lW06B+jPCCTK/mrx68DJ5SKMN42vPIk=; b=z1nx8a+/ST5dMW BTAufiTvOiX3FrIiT7p0YhePYeCHhF4vmvbKiOI6czPJz6cxvdXKJ40lwoWCBrD3ly2DypRnrMkd4 PMS5YVC/WCkcj+3dfPMwM8UGxN9nwfSh6mg60tvTtlAIh6UJByvCrpr4xFInQlkcxlIdK322/sNDR Obqn/St6oBFEJCbaen4hwWsRLvKcuSEViJYwhCFjSJZSXjLdAsD7LqKfgcNaHtOs+ZQAp7NCSaAqR RMwteUd/hiFO76IZ4MCGu1ZNKPAxG+cnWlm/eS2E61Ko+w/mdT+Vkyh1TJrUgOcTcDeP519jLU5DZ AKVxHho/t351+vYAg07Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nDrxC-005BXH-Us; Sat, 29 Jan 2022 17:56:03 +0000 Received: from smtp-relay-internal-0.canonical.com ([185.125.188.122]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nDrwV-005B7g-8T for linux-arm-kernel@lists.infradead.org; Sat, 29 Jan 2022 17:55:20 +0000 Received: from mail-ej1-f72.google.com (mail-ej1-f72.google.com [209.85.218.72]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-internal-0.canonical.com (Postfix) with ESMTPS id 137DC3F4B6 for ; Sat, 29 Jan 2022 17:55:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1643478918; bh=uFwYq6/sLP+aa3bBUWRWpw/ZxD+cRQR7FFitx+apeiE=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=s3UovhqG1/sT8I0iYbMXZ8uv68RvDi+myMa3MXX+yvy9jbnAAGqFcQFkHbvSTeMga L8SxmVCrW7Pzfp5WYqYJGuFSJwMxFjB8KTyGE+93BeiIo5RT5suZQTUwj6rzKQvEuS n4QNq2yxPPNSuXELoSXBxPBnI4hLxsRgEP+dbXNkFE9TCNYvKajbspssTT+4zaJUzu cYUrpH/rs0fQM47otFBrlRbf4Af9p/x2uKjicZ/QGBE2a52VS701XfmTTmZ8hRyjGI G78rcDZpFalMHtMKC5NA2I0R0q4e2zBTnes1pOqzfcTqnK0Stl6E+9IlZM4YN9atHk YrocunMkndPXA== Received: by mail-ej1-f72.google.com with SMTP id 13-20020a170906328d00b006982d0888a4so3760292ejw.9 for ; Sat, 29 Jan 2022 09:55:18 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=uFwYq6/sLP+aa3bBUWRWpw/ZxD+cRQR7FFitx+apeiE=; b=ajclKCYzox9uH/ppA9lAgyy3b3lRhrQEGr718VemqblHK+F8hpD/fVmEj7yT52o7Hh ZQBfHRiiIxLc/H9mDolwcCZebcVu0jCQMELJohVzwlQqpvp6D4pVa4CG4GxAE5fRs2kF HfA41yzl6+JJDN/XK9+aniqDfwbIwlqfMIa9FHWy6OBhn8AItFu2HwqbzzNNVUubCxxy TG/7Zv5oLgxATr+pMIQXfFsjS2fqJU/UltR0NQhuu35oS2z5G3mZnuCu01LNmy7pYAXs lpbAFR3JjU4wEpfrr15flJ0XniroMJhkpA86rfUKtjNbaTBPWBNyqHRfyksfpxef3NRi sfFw== X-Gm-Message-State: AOAM533sIs9Cbo4qQa93qPzMKIRh5EyUORDqWrEGkV6qU+AkRaGcBnKZ 6hKeFI5c/h4bJsdP1XR8qyQDlVCxg9wM6+SK4vWVmO0V+UpvgMYTPcT89+tnM4IK6fxTupld+ZW lyCWnBox3Shv89t5fKIbX+hVLSWNVqqmtzABo8nLeGhVl0n4Lz3ri X-Received: by 2002:a17:907:e9e:: with SMTP id ho30mr10864608ejc.648.1643478917780; Sat, 29 Jan 2022 09:55:17 -0800 (PST) X-Google-Smtp-Source: ABdhPJzSviQQQDxdB3qrIV0NYtxKwFAPyvG5odOdZK+9ipq5+Obta3UvfGd28ogRz+7BlJZr7mfAWQ== X-Received: by 2002:a17:907:e9e:: with SMTP id ho30mr10864603ejc.648.1643478917641; Sat, 29 Jan 2022 09:55:17 -0800 (PST) Received: from localhost.localdomain (xdsl-188-155-168-84.adslplus.ch. [188.155.168.84]) by smtp.gmail.com with ESMTPSA id x31sm14948762ede.26.2022.01.29.09.55.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 29 Jan 2022 09:55:17 -0800 (PST) From: Krzysztof Kozlowski To: Chanho Min , Rob Herring , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH 2/2] arm64: dts: lg: align pl330 node name with dtschema Date: Sat, 29 Jan 2022 18:55:14 +0100 Message-Id: <20220129175514.298942-2-krzysztof.kozlowski@canonical.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20220129175514.298942-1-krzysztof.kozlowski@canonical.com> References: <20220129175514.298942-1-krzysztof.kozlowski@canonical.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220129_095519_481163_4A77C3A2 X-CRM114-Status: GOOD ( 13.95 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Fixes dtbs_check warnings like: dma@c1128000: $nodename:0: 'dma@c1128000' does not match '^dma-controller(@.*)?$' Signed-off-by: Krzysztof Kozlowski Acked-by: Chanho Min --- arch/arm64/boot/dts/lg/lg1312.dtsi | 2 +- arch/arm64/boot/dts/lg/lg1313.dtsi | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/lg/lg1312.dtsi b/arch/arm64/boot/dts/lg/lg1312.dtsi index ef57df716f14..bec97480a960 100644 --- a/arch/arm64/boot/dts/lg/lg1312.dtsi +++ b/arch/arm64/boot/dts/lg/lg1312.dtsi @@ -182,7 +182,7 @@ spi1: spi@fe900000 { clocks = <&clk_bus>; clock-names = "apb_pclk"; }; - dmac0: dma@c1128000 { + dmac0: dma-controller@c1128000 { compatible = "arm,pl330", "arm,primecell"; reg = <0x0 0xc1128000 0x1000>; interrupts = ; diff --git a/arch/arm64/boot/dts/lg/lg1313.dtsi b/arch/arm64/boot/dts/lg/lg1313.dtsi index 4e6b65939b72..ada3d4dc6305 100644 --- a/arch/arm64/boot/dts/lg/lg1313.dtsi +++ b/arch/arm64/boot/dts/lg/lg1313.dtsi @@ -182,7 +182,7 @@ spi1: spi@fe900000 { clocks = <&clk_bus>; clock-names = "apb_pclk"; }; - dmac0: dma@c1128000 { + dmac0: dma-controller@c1128000 { compatible = "arm,pl330", "arm,primecell"; reg = <0x0 0xc1128000 0x1000>; interrupts = ;