From patchwork Sat Jan 29 17:53:28 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 538195 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 468A2C433EF for ; Sat, 29 Jan 2022 17:53:38 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1352724AbiA2Rxh (ORCPT ); Sat, 29 Jan 2022 12:53:37 -0500 Received: from smtp-relay-internal-1.canonical.com ([185.125.188.123]:36090 "EHLO smtp-relay-internal-1.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1352733AbiA2Rxh (ORCPT ); Sat, 29 Jan 2022 12:53:37 -0500 Received: from mail-ej1-f70.google.com (mail-ej1-f70.google.com [209.85.218.70]) (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-1.canonical.com (Postfix) with ESMTPS id 1ABCF3F1C4 for ; Sat, 29 Jan 2022 17:53:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1643478816; bh=UuAmHmse5/7Zq3pHBrLReTIT8+GCT8GhUGa1FdMNyD0=; h=From:To:Subject:Date:Message-Id:MIME-Version; b=C6D06qp0NZpK/cpAobfix1u4cWS0k2bIaNXKtyFaPAXOr1lIew2dUhWLXoa2Xvh/A 9rMYzjD2yGakCeumHg7B7JE5LvV+rJIZXb0piVxpIM7dIG3G4vQKU4tYf7c8CD0iEM sNDZFRQcoHBIGL14tQExREN5LaezA2V53n2xvDrej0hDM0A6luZ/+QnQ7DoELZcjB3 72OxLlGIcM8AOdJGNohF66k8NEXSJqjzAaUX+bQZRP1zUJDflw4tjOhGQNkOV1d+z8 cwZYm34KYewgcyDr8EIxrOLU7Om8G2fqWMBAsfu3RuIr21C6TOxBruoDVrOPNe8w7u iksG19IAm6haA== Received: by mail-ej1-f70.google.com with SMTP id q19-20020a1709064c9300b006b39291ff3eso3794032eju.5 for ; Sat, 29 Jan 2022 09:53:36 -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:subject:date:message-id:mime-version :content-transfer-encoding; bh=UuAmHmse5/7Zq3pHBrLReTIT8+GCT8GhUGa1FdMNyD0=; b=jMf/8cXPeIM3nR/qQxx5YCxH10vSbjyYwGJ8TtCoxLf5Ck3gTtGKFArG2cIboh+/oO C1cuJx0UzGk9PaCpsliFi1/X74TMCHu+tyEA71FQmGO2Uno1+c4eVGxCZV3BvAT48nL3 3c3QKJZvGn+CiOiHEr332yOtagXj4Xz0ou31RH5h5DFOPLcC9606zAmIMZD4LKu63MYJ 05fdv1zH9WKvsVYHmFmKr2Ld058JvDIMPqT2Zg3T36HnACjUOs+SHJy+BZtN02/SGZyt +tasw54Knj/sSZ5c0+EcYckK4H61jeqxGCJcHJ5hPDv81mHeXfdIuyUR2O0lktwNB7WG ieDA== X-Gm-Message-State: AOAM533Eadgkiv5CEtgCHX4Go5sIqNbGRXydOvJDMPtOxLwfpC5lmg0N 8V4/hQEfuy0DD6JJUEzkvlWgWDhF/NXeJjj68OwmjBjDQgx6wDaS/bf5OPagtEJsotfnK+AaSVu 5A9D8kVyrLiclrxcEPRPPmh6MAVRE0DGgK14r5vVYIw== X-Received: by 2002:a17:907:3e83:: with SMTP id hs3mr11405847ejc.16.1643478815350; Sat, 29 Jan 2022 09:53:35 -0800 (PST) X-Google-Smtp-Source: ABdhPJzoYeYNFVHm8L57tWF3N04jNWX9vUgWvjjwCv32ktyz+5reypKzReeLBf3LNdZx/oGR3dBS5w== X-Received: by 2002:a17:907:3e83:: with SMTP id hs3mr11405836ejc.16.1643478815150; Sat, 29 Jan 2022 09:53:35 -0800 (PST) Received: from localhost.localdomain (xdsl-188-155-168-84.adslplus.ch. [188.155.168.84]) by smtp.gmail.com with ESMTPSA id s12sm11236266ejx.184.2022.01.29.09.53.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 29 Jan 2022 09:53:34 -0800 (PST) From: Krzysztof Kozlowski To: Lee Jones , Rob Herring , Krzysztof Kozlowski , Alim Akhtar , Greg Kroah-Hartman , Sylwester Nawrocki , Marek Szyprowski , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-serial@vger.kernel.org Subject: [PATCH 1/5] arm64: dts: exynos: align pl330 node name with dtschema Date: Sat, 29 Jan 2022 18:53:28 +0100 Message-Id: <20220129175332.298666-1-krzysztof.kozlowski@canonical.com> X-Mailer: git-send-email 2.32.0 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-serial@vger.kernel.org Fixes dtbs_check warnings like: pdma@15610000: $nodename:0: 'pdma@15610000' does not match '^dma-controller(@.*)?$' Signed-off-by: Krzysztof Kozlowski Reviewed-by: Alim Akhtar Reviewed-by: Alim Akhtar Reviewed-by: Alim Akhtar Reviewed-by: Alim Akhtar --- arch/arm64/boot/dts/exynos/exynos5433.dtsi | 6 +++--- arch/arm64/boot/dts/exynos/exynos7.dtsi | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/arch/arm64/boot/dts/exynos/exynos5433.dtsi b/arch/arm64/boot/dts/exynos/exynos5433.dtsi index bfe4ed8a23d6..b4cde77e02d3 100644 --- a/arch/arm64/boot/dts/exynos/exynos5433.dtsi +++ b/arch/arm64/boot/dts/exynos/exynos5433.dtsi @@ -1858,7 +1858,7 @@ mshc_2: mshc@15560000 { status = "disabled"; }; - pdma0: pdma@15610000 { + pdma0: dma-controller@15610000 { compatible = "arm,pl330", "arm,primecell"; reg = <0x15610000 0x1000>; interrupts = ; @@ -1869,7 +1869,7 @@ pdma0: pdma@15610000 { #dma-requests = <32>; }; - pdma1: pdma@15600000 { + pdma1: dma-controller@15600000 { compatible = "arm,pl330", "arm,primecell"; reg = <0x15600000 0x1000>; interrupts = ; @@ -1891,7 +1891,7 @@ audio-subsystem@11400000 { #size-cells = <1>; ranges; - adma: adma@11420000 { + adma: dma-controller@11420000 { compatible = "arm,pl330", "arm,primecell"; reg = <0x11420000 0x1000>; interrupts = ; diff --git a/arch/arm64/boot/dts/exynos/exynos7.dtsi b/arch/arm64/boot/dts/exynos/exynos7.dtsi index 960823b8247a..3364b09c3158 100644 --- a/arch/arm64/boot/dts/exynos/exynos7.dtsi +++ b/arch/arm64/boot/dts/exynos/exynos7.dtsi @@ -142,7 +142,7 @@ gic: interrupt-controller@11001000 { <0x11006000 0x2000>; }; - pdma0: pdma@10e10000 { + pdma0: dma-controller@10e10000 { compatible = "arm,pl330", "arm,primecell"; reg = <0x10E10000 0x1000>; interrupts = ; @@ -153,7 +153,7 @@ pdma0: pdma@10e10000 { #dma-requests = <32>; }; - pdma1: pdma@10eb0000 { + pdma1: dma-controller@10eb0000 { compatible = "arm,pl330", "arm,primecell"; reg = <0x10EB0000 0x1000>; interrupts = ; From patchwork Sat Jan 29 17:53:29 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 538629 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 AA3C5C433F5 for ; Sat, 29 Jan 2022 17:53:40 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1352782AbiA2Rxi (ORCPT ); Sat, 29 Jan 2022 12:53:38 -0500 Received: from smtp-relay-internal-0.canonical.com ([185.125.188.122]:58756 "EHLO smtp-relay-internal-0.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1346187AbiA2Rxh (ORCPT ); Sat, 29 Jan 2022 12:53:37 -0500 Received: from mail-ed1-f71.google.com (mail-ed1-f71.google.com [209.85.208.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 D2C883F4B6 for ; Sat, 29 Jan 2022 17:53:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1643478816; bh=bgWRA4jagXRIZ+87s8E1TzK9o6vneJUF41jOIzkhmn8=; h=From:To:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=lA6FH8l1TyoTfuqt+fHS8HybtRsbmJAsNL33g8YwHcL1sTzIBZV+lEUGFk9RggAaX 0zWbTMSRtHDxir/pDR42dq//amV4NIDWkED2uFerSZ0JfAcACRI12OnvvbrIvKnpbz JsaUgoN6p5Tm7pbAVU8dHrCp9V9W3r5VU1qtaHSGwTT5tcV39dk09oOqVSGZDj43KH ffyOWeZwBWB2I1fLOTD07/e9+IXkVIb0l9wKGGamMhsbZlNo7iQ/NdRjKC7dLkCxup lvR+KCqkcXn/glDkrYFbkAWRySTAhHrMy74RpOqd4RcWQHlTm+XdMhUG57KLmGuIO3 l1zZGAJxA+t0A== Received: by mail-ed1-f71.google.com with SMTP id v15-20020a50a44f000000b004094f4a8f3bso4719839edb.0 for ; Sat, 29 Jan 2022 09:53:36 -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:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=bgWRA4jagXRIZ+87s8E1TzK9o6vneJUF41jOIzkhmn8=; b=GIFqfvjrYIujxzc5+SKrZW7Ksm0m+61mpClKTN8S8yRYJ3vHZfG+D9kT/47tenDPuK U27djzAeMLNdg0T4Sx1QaJTYLsdT9F69yJlA2POj/Lk5v3szh/Si7TxSxrC7cj+JJRGW x4PgITWhO4jy6yERba+QOiN+BUZasWxpZUQVWFDQjnhqcBv8AN87Bnaz3jvpGHnwYtB/ 0QHlyyiUE+La607Id2TI1B7Ai4vsGAvcKnC6sB8lAbmXk5IyVMAD9Q7VlhMWx2rukgH9 PIErKRaob6OzUblOvGr8THapd0rEmzi3C4jocS2I+6WxB9qF3nTxajY6ZcvbKJKn7SdD 1YPw== X-Gm-Message-State: AOAM530c6jAxBF4lV8Po1Lq+YgZaG/Is+fsDbgtZpU9UPDKJGh5VEDz/ JJ+QLHzn1FyD1uWl5IZhpn7N+p24S+/OmIwTvJ5PGrRLKSPnzuXf+qot0WlETCt7OvpbvIpHUp8 jrmWhX+LwbtkrluWV9lTtkvRR/+2xgDJyBmHPIftXUA== X-Received: by 2002:a17:907:9726:: with SMTP id jg38mr3651950ejc.384.1643478816580; Sat, 29 Jan 2022 09:53:36 -0800 (PST) X-Google-Smtp-Source: ABdhPJwaBAqEWxBwVQz5SVpuSS2UhkhrR1UFQZFLootOZ1zlNqZ0WYYIUdusgJTZcK3C6ZgqYdhF9A== X-Received: by 2002:a17:907:9726:: with SMTP id jg38mr3651939ejc.384.1643478816415; Sat, 29 Jan 2022 09:53:36 -0800 (PST) Received: from localhost.localdomain (xdsl-188-155-168-84.adslplus.ch. [188.155.168.84]) by smtp.gmail.com with ESMTPSA id s12sm11236266ejx.184.2022.01.29.09.53.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 29 Jan 2022 09:53:35 -0800 (PST) From: Krzysztof Kozlowski To: Lee Jones , Rob Herring , Krzysztof Kozlowski , Alim Akhtar , Greg Kroah-Hartman , Sylwester Nawrocki , Marek Szyprowski , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-serial@vger.kernel.org Subject: [PATCH 2/5] arm64: dts: exynos: drop unneeded syscon phandle in Exynos5433 LPASS Date: Sat, 29 Jan 2022 18:53:29 +0100 Message-Id: <20220129175332.298666-2-krzysztof.kozlowski@canonical.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20220129175332.298666-1-krzysztof.kozlowski@canonical.com> References: <20220129175332.298666-1-krzysztof.kozlowski@canonical.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-serial@vger.kernel.org Exynos5433 LPASS audio node does not use syscon phandle since commit addebf1588ab ("mfd: exynos-lpass: Remove pad retention control"). It was also dropped from bindings. Signed-off-by: Krzysztof Kozlowski --- arch/arm64/boot/dts/exynos/exynos5433.dtsi | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/arm64/boot/dts/exynos/exynos5433.dtsi b/arch/arm64/boot/dts/exynos/exynos5433.dtsi index b4cde77e02d3..661567d2dd7a 100644 --- a/arch/arm64/boot/dts/exynos/exynos5433.dtsi +++ b/arch/arm64/boot/dts/exynos/exynos5433.dtsi @@ -1885,7 +1885,6 @@ audio-subsystem@11400000 { reg = <0x11400000 0x100>, <0x11500000 0x08>; clocks = <&cmu_aud CLK_PCLK_SFR0_CTRL>; clock-names = "sfr0_ctrl"; - samsung,pmu-syscon = <&pmu_system_controller>; power-domains = <&pd_aud>; #address-cells = <1>; #size-cells = <1>; From patchwork Sat Jan 29 17:53:30 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 538628 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 F2BA4C4321E for ; Sat, 29 Jan 2022 17:53:46 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1352943AbiA2Rxq (ORCPT ); Sat, 29 Jan 2022 12:53:46 -0500 Received: from smtp-relay-internal-1.canonical.com ([185.125.188.123]:36196 "EHLO smtp-relay-internal-1.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1352729AbiA2Rxm (ORCPT ); Sat, 29 Jan 2022 12:53:42 -0500 Received: from mail-ed1-f70.google.com (mail-ed1-f70.google.com [209.85.208.70]) (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-1.canonical.com (Postfix) with ESMTPS id 34F3E3FFD0 for ; Sat, 29 Jan 2022 17:53:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1643478819; bh=91aS3XOwWU5WTC4z2AKsnFVg6zaKlD32D1AoEn9HL0o=; h=From:To:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=E21VNXUt524h0sbVwI4fgzz/YBSyybn5SY8Im7+UN2sXYdWxO/os+LcA2X6ccf55n DM+yYRs3Ot6KVWm00PXxnYs2X0i2TG02C76T8b7hCfeWSep/pcqoYhmbpOMriIy2cV q8vJ9Si7pqIWgmQwwimrjnxZg345PIO6gawwk5zEBSD5v/6PWI9UvwjBaPS0xO3gTa DW+8OpDDjI+E3APGTppf/Pik2j8r8s4S7FyLWVy8fvgEiGn1pMx85buqVwKgqe0KqV 1bfp1GIIadGa4Bm8We3pBD0bBLlcBv9iH/8i8S0ZERdYGT9BeP7o2/PILyVNt8vpEx MaoKMIll97FWg== Received: by mail-ed1-f70.google.com with SMTP id w3-20020a50c443000000b0040696821132so4665992edf.22 for ; Sat, 29 Jan 2022 09:53:39 -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:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=91aS3XOwWU5WTC4z2AKsnFVg6zaKlD32D1AoEn9HL0o=; b=y/Y3YbmPysU7XbD9sW86FEKaWTN9JMXCtk9pqJYkMlNa5ysG2XuYdf69HZGbeGHoFq EoY36KXP7/D2747UUwJ18+KuMmAdV63BxgpJUX/obhno/yZgipm6jC0/fGvnIetZW13e KCBLvwTIeWhIDTjqL7sjN0XwvPE6JKd3RLKFu5lIWjfOKIb9VZxLA7COYcE6nCPNCISm SnwGZvI9FzvKaYlWBW/FGsjcDjAC4GTxItP+UXZvlpbWzUkf32A5rAymgL/XVP3MSvz5 0YQT+bYoIt56fXGnUGh5ZfKAMU0rFA8acdxOusAPMpycZx38mipbVC1XcgnwywsT9jGl v5Iw== X-Gm-Message-State: AOAM5327+6aZOzOk4xidtW7kiixf5k0CgIAzKvaPJr5LbfwyZyjXGoXg dnqOnye5CzdarcMIAfybWnVcnNDSaPG8GUY0KSgSaCB33/nGhogPpOt52D4N6WCk8Zk3KgCph+H oJNfojas5cIHUCgBV1G3cPF6pZZcCA0lj6PLiSfA1Jw== X-Received: by 2002:a17:907:a421:: with SMTP id sg33mr11650259ejc.108.1643478817849; Sat, 29 Jan 2022 09:53:37 -0800 (PST) X-Google-Smtp-Source: ABdhPJwVNBn0kTfD4ogoNz392MYFzdBWozh3HfQi6t0ug4M8C7NNR8mOzvuDFSeROfurwcbyoSTatw== X-Received: by 2002:a17:907:a421:: with SMTP id sg33mr11650253ejc.108.1643478817711; Sat, 29 Jan 2022 09:53:37 -0800 (PST) Received: from localhost.localdomain (xdsl-188-155-168-84.adslplus.ch. [188.155.168.84]) by smtp.gmail.com with ESMTPSA id s12sm11236266ejx.184.2022.01.29.09.53.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 29 Jan 2022 09:53:37 -0800 (PST) From: Krzysztof Kozlowski To: Lee Jones , Rob Herring , Krzysztof Kozlowski , Alim Akhtar , Greg Kroah-Hartman , Sylwester Nawrocki , Marek Szyprowski , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-serial@vger.kernel.org Subject: [PATCH 3/5] mfd: exynos-lpass: Drop unneeded syscon.h include Date: Sat, 29 Jan 2022 18:53:30 +0100 Message-Id: <20220129175332.298666-3-krzysztof.kozlowski@canonical.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20220129175332.298666-1-krzysztof.kozlowski@canonical.com> References: <20220129175332.298666-1-krzysztof.kozlowski@canonical.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-serial@vger.kernel.org syscon regmap is not used since commit addebf1588ab ("mfd: exynos-lpass: Remove pad retention control"). Fixes: addebf1588ab ("mfd: exynos-lpass: Remove pad retention control") Signed-off-by: Krzysztof Kozlowski --- drivers/mfd/exynos-lpass.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/mfd/exynos-lpass.c b/drivers/mfd/exynos-lpass.c index 99bd0e73c19c..166cd21088cd 100644 --- a/drivers/mfd/exynos-lpass.c +++ b/drivers/mfd/exynos-lpass.c @@ -15,7 +15,6 @@ #include #include #include -#include #include #include #include From patchwork Sat Jan 29 17:53:31 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 538194 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 92645C43217 for ; Sat, 29 Jan 2022 17:53:46 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1352838AbiA2Rxp (ORCPT ); Sat, 29 Jan 2022 12:53:45 -0500 Received: from smtp-relay-internal-0.canonical.com ([185.125.188.122]:58800 "EHLO smtp-relay-internal-0.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1352845AbiA2Rxk (ORCPT ); Sat, 29 Jan 2022 12:53:40 -0500 Received: from mail-ed1-f71.google.com (mail-ed1-f71.google.com [209.85.208.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 D5A6B3F1E9 for ; Sat, 29 Jan 2022 17:53:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1643478819; bh=ka9TiF8r6giyPD09NAPdLIG5k0S/14EE5/7Y9SeHZVU=; h=From:To:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=Yxok1qKtfBtsFeQOhjBMwUGRBg7t5DpEfJjs9hYCTG1cFCp1GDoAFby8WlopSy3sO xxrEY3xwlBCy0hlZZNME2GahsI0V1xzUdwvyIiiR/jdVc5+kGYeefWJRsTtijjaBV0 XXFT9XOWwvZWIpLAHfJ15NbA1u28bT5FRSgtw0crNlB4BRMONoUthEQnE/uxG7Ac/X yVp9DvnAiDDD6hlZJGUWE5EpIRr0uBA5WpaayOeWJV2nP5lO6kIsqDfl+z/eq3JcPr KLz1hsOY4udbZCyNXw1i76UNR5GlgmaPS1+48vqrailKA4cQRmuAFReIl+dFkEhUJK CCa8zP0/aNEgQ== Received: by mail-ed1-f71.google.com with SMTP id o25-20020a056402039900b0040631c2a67dso4637223edv.19 for ; Sat, 29 Jan 2022 09:53:39 -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:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=ka9TiF8r6giyPD09NAPdLIG5k0S/14EE5/7Y9SeHZVU=; b=XSZFjnwruva1MWLN+mrO1V7roaLO1CAFX6nRc+iPAVILzxTkTnJv+kli6CG3/vDEbR qsoHsDPXR04ixd0yt/Uo9RKqZ/x3llR5OoqE+b6Qx4M4EBWEyh2bdZ7nEXYOvwoUgNkr Z78dmTyzZ4/1XlnBldIq+MGDM88Ro3CveY+YypAZMbauDpUrAegMEX12YkxGrYwdIg/H doVRrM7Z/JmafMev5bfJEuKXoNTS0AWNkFhN5fxpLO6Qs/zyZbaYkTzGnp/rtzNdkz5b 2aNprFnN13dTrfQe5oNaU3Za4X6D4lv7ppRRWD8GQfCkaDI/aDay2pxkSIan/Ea3Xorc 3Z1g== X-Gm-Message-State: AOAM532P56iUpWR8jpuxNtZrI3ZTh/kFKorqqksALfweDWB4sSCTuBUi mpD5msLnDYVQmg4aXbqSrtrwpVMW1OfsYkCZNmO9+0Vk1Yto+6ffnNHqavuRuHjGy62yb4dVEO5 37MHTBH2UYvOBJefjTn1ipSBWUDq/MNK7h/VbXE3K6A== X-Received: by 2002:a17:907:7da8:: with SMTP id oz40mr5133904ejc.328.1643478819452; Sat, 29 Jan 2022 09:53:39 -0800 (PST) X-Google-Smtp-Source: ABdhPJxzk+zvupucdH70DRpGgSjDQ2oEuZcstxn3KX7+z5gkfdbUalg6yE54ueCT5xJD8Pb7M0KiKg== X-Received: by 2002:a17:907:7da8:: with SMTP id oz40mr5133887ejc.328.1643478819250; Sat, 29 Jan 2022 09:53:39 -0800 (PST) Received: from localhost.localdomain (xdsl-188-155-168-84.adslplus.ch. [188.155.168.84]) by smtp.gmail.com with ESMTPSA id s12sm11236266ejx.184.2022.01.29.09.53.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 29 Jan 2022 09:53:38 -0800 (PST) From: Krzysztof Kozlowski To: Lee Jones , Rob Herring , Krzysztof Kozlowski , Alim Akhtar , Greg Kroah-Hartman , Sylwester Nawrocki , Marek Szyprowski , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-serial@vger.kernel.org Subject: [PATCH 4/5] dt-bindings: mfd: samsung,exynos5433-lpass: Convert to dtschema Date: Sat, 29 Jan 2022 18:53:31 +0100 Message-Id: <20220129175332.298666-4-krzysztof.kozlowski@canonical.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20220129175332.298666-1-krzysztof.kozlowski@canonical.com> References: <20220129175332.298666-1-krzysztof.kozlowski@canonical.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-serial@vger.kernel.org Convert the Exynos5433 LPASS bindings to DT schema format. Signed-off-by: Krzysztof Kozlowski --- .../bindings/mfd/samsung,exynos5433-lpass.txt | 72 ----------- .../mfd/samsung,exynos5433-lpass.yaml | 119 ++++++++++++++++++ 2 files changed, 119 insertions(+), 72 deletions(-) delete mode 100644 Documentation/devicetree/bindings/mfd/samsung,exynos5433-lpass.txt create mode 100644 Documentation/devicetree/bindings/mfd/samsung,exynos5433-lpass.yaml diff --git a/Documentation/devicetree/bindings/mfd/samsung,exynos5433-lpass.txt b/Documentation/devicetree/bindings/mfd/samsung,exynos5433-lpass.txt deleted file mode 100644 index 30ea27c3936d..000000000000 --- a/Documentation/devicetree/bindings/mfd/samsung,exynos5433-lpass.txt +++ /dev/null @@ -1,72 +0,0 @@ -Samsung Exynos SoC Low Power Audio Subsystem (LPASS) - -Required properties: - - - compatible : "samsung,exynos5433-lpass" - - reg : should contain the LPASS top SFR region location - and size - - clock-names : should contain following required clocks: "sfr0_ctrl" - - clocks : should contain clock specifiers of all clocks, which - input names have been specified in clock-names - property, in same order. - - #address-cells : should be 1 - - #size-cells : should be 1 - - ranges : must be present - -Each IP block of the Low Power Audio Subsystem should be specified as -an optional sub-node. For "samsung,exynos5433-lpass" compatible this includes: -UART, SLIMBUS, PCM, I2S, DMAC, Timers 0...4, VIC, WDT 0...1 devices. - -Bindings of the sub-nodes are described in: - ../serial/samsung_uart.yaml - ../sound/samsung-i2s.txt - ../dma/arm-pl330.txt - - -Example: - -audio-subsystem { - compatible = "samsung,exynos5433-lpass"; - reg = <0x11400000 0x100>, <0x11500000 0x08>; - clocks = <&cmu_aud CLK_PCLK_SFR0_CTRL>; - clock-names = "sfr0_ctrl"; - #address-cells = <1>; - #size-cells = <1>; - ranges; - - adma: adma@11420000 { - compatible = "arm,pl330", "arm,primecell"; - reg = <0x11420000 0x1000>; - interrupts = <0 73 0>; - clocks = <&cmu_aud CLK_ACLK_DMAC>; - clock-names = "apb_pclk"; - #dma-cells = <1>; - #dma-channels = <8>; - #dma-requests = <32>; - }; - - i2s0: i2s0@11440000 { - compatible = "samsung,exynos7-i2s"; - reg = <0x11440000 0x100>; - dmas = <&adma 0 &adma 2>; - dma-names = "tx", "rx"; - interrupts = <0 70 0>; - clocks = <&cmu_aud CLK_PCLK_AUD_I2S>, - <&cmu_aud CLK_SCLK_AUD_I2S>, - <&cmu_aud CLK_SCLK_I2S_BCLK>; - clock-names = "iis", "i2s_opclk0", "i2s_opclk1"; - pinctrl-names = "default"; - pinctrl-0 = <&i2s0_bus>; - }; - - serial_3: serial@11460000 { - compatible = "samsung,exynos5433-uart"; - reg = <0x11460000 0x100>; - interrupts = <0 67 0>; - clocks = <&cmu_aud CLK_PCLK_AUD_UART>, - <&cmu_aud CLK_SCLK_AUD_UART>; - clock-names = "uart", "clk_uart_baud0"; - pinctrl-names = "default"; - pinctrl-0 = <&uart_aud_bus>; - }; - }; diff --git a/Documentation/devicetree/bindings/mfd/samsung,exynos5433-lpass.yaml b/Documentation/devicetree/bindings/mfd/samsung,exynos5433-lpass.yaml new file mode 100644 index 000000000000..96ef6113c8bf --- /dev/null +++ b/Documentation/devicetree/bindings/mfd/samsung,exynos5433-lpass.yaml @@ -0,0 +1,119 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/mfd/samsung,exynos5433-lpass.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Samsung Exynos SoC Low Power Audio Subsystem (LPASS) + +maintainers: + - Krzysztof Kozlowski + - Sylwester Nawrocki + +properties: + compatible: + const: samsung,exynos5433-lpass + + '#address-cells': + const: 1 + + clocks: + maxItems: 1 + + clock-names: + items: + - const: sfr0_ctrl + + power-domains: + maxItems: 1 + + ranges: true + + reg: + minItems: 2 + maxItems: 2 + + '#size-cells': + const: 1 + +patternProperties: + "^dma-controller@[0-9a-f]+$": + $ref: /schemas/dma/arm,pl330.yaml + + "^i2s@[0-9a-f]+$": + $ref: /schemas/sound/samsung-i2s.yaml + + "^serial@[0-9a-f]+$": + $ref: /schemas/serial/samsung_uart.yaml + +required: + - compatible + - '#address-cells' + - clocks + - clock-names + - ranges + - reg + - '#size-cells' + +additionalProperties: false + +examples: + - | + #include + #include + + audio-subsystem@11400000 { + compatible = "samsung,exynos5433-lpass"; + reg = <0x11400000 0x100>, <0x11500000 0x08>; + clocks = <&cmu_aud CLK_PCLK_SFR0_CTRL>; + clock-names = "sfr0_ctrl"; + power-domains = <&pd_aud>; + #address-cells = <1>; + #size-cells = <1>; + ranges; + + dma-controller@11420000 { + compatible = "arm,pl330", "arm,primecell"; + reg = <0x11420000 0x1000>; + interrupts = ; + clocks = <&cmu_aud CLK_ACLK_DMAC>; + clock-names = "apb_pclk"; + #dma-cells = <1>; + #dma-channels = <8>; + #dma-requests = <32>; + power-domains = <&pd_aud>; + }; + + i2s@11440000 { + compatible = "samsung,exynos7-i2s"; + reg = <0x11440000 0x100>; + dmas = <&adma 0>, <&adma 2>; + dma-names = "tx", "rx"; + interrupts = ; + #address-cells = <1>; + #size-cells = <0>; + clocks = <&cmu_aud CLK_PCLK_AUD_I2S>, + <&cmu_aud CLK_SCLK_AUD_I2S>, + <&cmu_aud CLK_SCLK_I2S_BCLK>; + clock-names = "iis", "i2s_opclk0", "i2s_opclk1"; + #clock-cells = <1>; + pinctrl-names = "default"; + pinctrl-0 = <&i2s0_bus>; + power-domains = <&pd_aud>; + #sound-dai-cells = <1>; + status = "disabled"; + }; + + serial@11460000 { + compatible = "samsung,exynos5433-uart"; + reg = <0x11460000 0x100>; + interrupts = ; + clocks = <&cmu_aud CLK_PCLK_AUD_UART>, + <&cmu_aud CLK_SCLK_AUD_UART>; + clock-names = "uart", "clk_uart_baud0"; + pinctrl-names = "default"; + pinctrl-0 = <&uart_aud_bus>; + power-domains = <&pd_aud>; + status = "disabled"; + }; + }; From patchwork Sat Jan 29 17:53:32 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 538193 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 F15CDC4332F for ; Sat, 29 Jan 2022 17:53:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1352968AbiA2Rxt (ORCPT ); Sat, 29 Jan 2022 12:53:49 -0500 Received: from smtp-relay-internal-1.canonical.com ([185.125.188.123]:36206 "EHLO smtp-relay-internal-1.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1352859AbiA2Rxm (ORCPT ); Sat, 29 Jan 2022 12:53:42 -0500 Received: from mail-ed1-f72.google.com (mail-ed1-f72.google.com [209.85.208.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-1.canonical.com (Postfix) with ESMTPS id 141F63F1D0 for ; Sat, 29 Jan 2022 17:53:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1643478821; bh=veL6ZTddJGkmWO+v+Lus/eVk85DvsY9iBADvcny/2xo=; h=From:To:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=DLouUQhikh5cRDDWpdHkHLVQxRxldX2Ay9iQTA6zCfq7Hxqb8w5mnrVmeK+mtn+gq iaVNa+bj/1BxtKLBurE57hM73R2Y3DhhtSfNAeHNS13GHHAslic69Eguapwa+IiRGZ dJSkyOu1TT81C5JiHhvfRzowrRlmSoGzeso0uCH3E1JtPhELegZQ3AEJX1LEvayr6a uYBw49TLoPo0lI64NC06549WQMNtieD15ohYf+G6L+kceaQAofNlE16C2A/4lLZup5 3qNoJFd2MTdBjx2N1u8w5eQ3IiN1WgX++m+ekDzYQZV1l0QYdFNJNm32BWp8Wt86dL J1/X9+3hB+PQw== Received: by mail-ed1-f72.google.com with SMTP id i22-20020a0564020f1600b00407b56326a2so4692550eda.18 for ; Sat, 29 Jan 2022 09:53:41 -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:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=veL6ZTddJGkmWO+v+Lus/eVk85DvsY9iBADvcny/2xo=; b=Cc4ER1cy6zEbGnZaIFLk+DSIM9LndefgCvVelnPkZYZfqAuRdGeqRHPbeMNjbUf0PX aozm8Cri5o4Ilghq5RnOE7yJ/N+F2okfkDJHNz5ZZ2wrbO+kNf+JsV2ofNWE1ZVCi+EN VWzhyA+LeiLWCJIoUvrtvu/pAVEU2VY/hw6Vz70emO/OqRkyy0LDko5LtlWZnE16cHbU rTrq1nTMZ6rjMRvFAe+cxfcyJz3nRyyZ239Hf0H9ywauZqi0tePJG5Kq9Hm2vyURWrnw dcQLCt4HlX7f9bhrpeAGCtUbCmYJaRYb2jX+aLHrhN1UJxvutB1B+SYbvBnYMFBDZTfC PmQw== X-Gm-Message-State: AOAM532/yjUQU3b5MYvLH9K1m4DkelSC/txM60heY18wKN2K5Oby3EqE h+ZdaERVclgy8Y88iGkDyVVC0cotU9yhDbdvnxWDFotxu3cBgJamkXVWDpVDTiAJ+SzDurEVqiO WCXZXXMpBCoBFIDBS4o1JoebOPtZ+4zxwTlcIonCTag== X-Received: by 2002:a17:907:7e9b:: with SMTP id qb27mr11137896ejc.524.1643478820800; Sat, 29 Jan 2022 09:53:40 -0800 (PST) X-Google-Smtp-Source: ABdhPJw5CBLthMjPGZikxjz/GeJrdUwukf8hFoejvpxjbfEPDuwkf4B6TSZ0xs7lVYUf2VA3qmtYCA== X-Received: by 2002:a17:907:7e9b:: with SMTP id qb27mr11137881ejc.524.1643478820636; Sat, 29 Jan 2022 09:53:40 -0800 (PST) Received: from localhost.localdomain (xdsl-188-155-168-84.adslplus.ch. [188.155.168.84]) by smtp.gmail.com with ESMTPSA id s12sm11236266ejx.184.2022.01.29.09.53.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 29 Jan 2022 09:53:39 -0800 (PST) From: Krzysztof Kozlowski To: Lee Jones , Rob Herring , Krzysztof Kozlowski , Alim Akhtar , Greg Kroah-Hartman , Sylwester Nawrocki , Marek Szyprowski , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-serial@vger.kernel.org Subject: [PATCH 5/5] dt-bindings: serial: samsung_uart: Document Exynos5433 compatible Date: Sat, 29 Jan 2022 18:53:32 +0100 Message-Id: <20220129175332.298666-5-krzysztof.kozlowski@canonical.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20220129175332.298666-1-krzysztof.kozlowski@canonical.com> References: <20220129175332.298666-1-krzysztof.kozlowski@canonical.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-serial@vger.kernel.org Document the Exynos5433 UART compatible, supported since commit 31ec77aca72e ("serial: samsung: Add the support for Exynos5433 SoC"). Signed-off-by: Krzysztof Kozlowski Reviewed-by: Alim Akhtar Acked-by: Rob Herring --- Documentation/devicetree/bindings/serial/samsung_uart.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/serial/samsung_uart.yaml b/Documentation/devicetree/bindings/serial/samsung_uart.yaml index 2940afb874b3..6aceba4a5f79 100644 --- a/Documentation/devicetree/bindings/serial/samsung_uart.yaml +++ b/Documentation/devicetree/bindings/serial/samsung_uart.yaml @@ -26,6 +26,7 @@ properties: - samsung,s3c6400-uart - samsung,s5pv210-uart - samsung,exynos4210-uart + - samsung,exynos5433-uart - samsung,exynos850-uart reg: @@ -111,6 +112,7 @@ allOf: enum: - apple,s5l-uart - samsung,exynos4210-uart + - samsung,exynos5433-uart then: properties: clocks: