From patchwork Wed Feb 2 15:13:08 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 539522 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 6CE7AC4332F for ; Wed, 2 Feb 2022 15:13:35 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345395AbiBBPNe (ORCPT ); Wed, 2 Feb 2022 10:13:34 -0500 Received: from smtp-relay-internal-1.canonical.com ([185.125.188.123]:51514 "EHLO smtp-relay-internal-1.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345347AbiBBPNb (ORCPT ); Wed, 2 Feb 2022 10:13:31 -0500 Received: from mail-wm1-f71.google.com (mail-wm1-f71.google.com [209.85.128.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-1.canonical.com (Postfix) with ESMTPS id 52EA8402F6 for ; Wed, 2 Feb 2022 15:13:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1643814810; bh=nSYzIJyZPz2XWQqi86zTvNcY5aJPlKdbCVEXTZ9ouQg=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=Q6/Zi8v38A5nGqqs8tLqcUMTTX6K4k5BhYBU1pHfbHk/T3pdlGhVZnhNaFAJjYmYQ +86Z2HmbU4P9nSHQmAv1DHMQRleNDYpBNFsQErxziTJmZc8itaVnfXPe7vOPP9dPlA C6jNAarr8HOYDmoE0IwWI+45kuiBRhPfbD3niPDzQZSoPs1TAuXoQO8XPhBzQ+Uywi R/XugEcE7FUZfC3UmV0X1jrApCaRtf1ZQQoZ5L36oi2kAaBNP8cE0a706vwfofJORf d23MXD2VlxK6cKHm/VPLw1hjm2bTLzFB0OGL/9FnnSKIy/OmfYdzs1zGdPZ187o++j XuqF0oBF97c/Q== Received: by mail-wm1-f71.google.com with SMTP id n7-20020a1c7207000000b0034ec3d8ce0aso2611273wmc.8 for ; Wed, 02 Feb 2022 07:13:30 -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=nSYzIJyZPz2XWQqi86zTvNcY5aJPlKdbCVEXTZ9ouQg=; b=DziBXxSU5NeZOVFZj3cm5Pmn2w7A2HkPwoxyCn6wLcEppOoKu2zYXI1LcnaU801EkI 9w2mtQbZAOVkojDJ1H0+sKT635JTGoM2c+hFRGYFb/O9UxS2ntOxZKAubaYrlma7M5fH Iko3X77ziyhqhSSm11Z8GljGhH3LaPV4YWUICFbSjki1uPRSN9QXifiCwUfyLknM1E/g onq55bbWI97Y6ciyN0ytPMn9WwC6KqtfYiYkC4xPrvIfs5G8wjMVjPjHgwt/f4C+vB3h mBHFNmE5+kh2d+RslZfwdAaBr41PyIuLKICCXkIQ9eLdjYO8dOGgoWQTef3tCVvM8bn9 KBXw== X-Gm-Message-State: AOAM533FqaMFs4v6HAG+u8Suy1IzzVXo2w992icDyBW9IOGqXPsyJEXG gvaQXShBuhMrIY6CNnpiiyvooCmTRWUZgXVfVRsxbILNILgKFTZ+b2+KL/aGa8fU8ojmwm+zapv Oixj7qqIc0tK53oirQd5YXYGsRLgmatsQUJSO2cnl2JRFNmAQ X-Received: by 2002:a05:6000:178b:: with SMTP id e11mr25081190wrg.69.1643814809921; Wed, 02 Feb 2022 07:13:29 -0800 (PST) X-Google-Smtp-Source: ABdhPJwTzqdewy2j5IuYcrsXFVmbNlFRf9Nk9fBxctV3KCf8V1DiAcSfc4A5lOmWKc6NeRLaHh1/Vg== X-Received: by 2002:a05:6000:178b:: with SMTP id e11mr25081162wrg.69.1643814809637; Wed, 02 Feb 2022 07:13:29 -0800 (PST) Received: from localhost.localdomain (xdsl-188-155-168-84.adslplus.ch. [188.155.168.84]) by smtp.gmail.com with ESMTPSA id p7sm5098872wmq.20.2022.02.02.07.13.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 02 Feb 2022 07:13:29 -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 Cc: Rob Herring Subject: [PATCH v2 1/3] dt-bindings: serial: samsung_uart: Document Exynos5433 compatible Date: Wed, 2 Feb 2022 16:13:08 +0100 Message-Id: <20220202151310.285561-2-krzysztof.kozlowski@canonical.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20220202151310.285561-1-krzysztof.kozlowski@canonical.com> References: <20220202151310.285561-1-krzysztof.kozlowski@canonical.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@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: From patchwork Wed Feb 2 15:13:09 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 539812 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 1D6E4C433EF for ; Wed, 2 Feb 2022 15:13:36 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345397AbiBBPNf (ORCPT ); Wed, 2 Feb 2022 10:13:35 -0500 Received: from smtp-relay-internal-0.canonical.com ([185.125.188.122]:40972 "EHLO smtp-relay-internal-0.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345381AbiBBPNc (ORCPT ); Wed, 2 Feb 2022 10:13:32 -0500 Received: from mail-wr1-f70.google.com (mail-wr1-f70.google.com [209.85.221.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-0.canonical.com (Postfix) with ESMTPS id 2D36E3F32B for ; Wed, 2 Feb 2022 15:13:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1643814811; bh=duSAVgvelNICvdKrcx93NtKcQsfey6iTKnfcyqiY3yY=; h=From:To:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=Glw3FTXzWUWX+Qx+Y5dsWBc6dTEGpgNCoHy3GNWFfFmhhOWrjdZBsGZ9TJ1BKeAJ6 KFZ6/Z7nvcDVhS7m8S1BMwmloW+6bwGTOPynzJW5qPdo4Ek+oex0aKvJ6p40it17kU PGpPdg8hTfQIeGsnIQOR6fFI20kp1cPQFmB7wK2FfFYbSmmwVBxP3SjMopLT7ZNYEh 6GcTUwBdtSJ2Cd0S96J6gEhY4XZtG1TFreSJmKbHZM6w9YQCkmWW8jAnNnCxeAvqV3 ibT2aIDWZzF4SBfXT8f3rhndFvp9mjQPVC1HeIicMMVuOQMSahWKB0ue6pK7Jf7+BX 2+isMMI2k5cCQ== Received: by mail-wr1-f70.google.com with SMTP id l22-20020adfa396000000b001d8e6467fe8so1318341wrb.6 for ; Wed, 02 Feb 2022 07:13:31 -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=duSAVgvelNICvdKrcx93NtKcQsfey6iTKnfcyqiY3yY=; b=7dNbxQBUGuWbtMo87Jh3XFBJBkxjCsNbsfh0a65SHVhim1LU5gbDGl56mTK65BGY6A FIP7iitXK48mLKTlkRdwDZJAl/BBz8KGYebalTTKRFmTpgWNQ/gVhwRislDV8ZxW4GJl sNQNn81XDM2qO8u9I3u6v7HxA2ap/8GO4tCNVuJTlPtKGHWW8KW66iSrihNTdr7aIErF 3Ao5CsDAxf0e/rOclsr7bG3UyVoUAGiP8GlbdtDdXzxh332x9kaMMnvUmAMYzzVmSOAy GoGahsEwyocxwTn8AuMoMp/qHq3fu4YGykUU5Z056cwM9IR0/CT0kWeTro2hvbDHPF8Q /2EQ== X-Gm-Message-State: AOAM532BGPCKJ7G/z+cz7B8/jggPwZkqU4cqO1aQK1AeLm7koZVF5whV odGCE3s+eShK2KGeM7bYQr4VpasK/heV4nmvFaIJVqT+ZVfqSlMe0qn5DTqL3N3p46jG6JXMWs5 4GhRHqbmn1LynpMOn+25gEkCHrufODkRSzjgVMqtYcTBxnsft X-Received: by 2002:a5d:5986:: with SMTP id n6mr25028467wri.574.1643814810953; Wed, 02 Feb 2022 07:13:30 -0800 (PST) X-Google-Smtp-Source: ABdhPJxcQvlGtuGDsOAUNuOny5cBjriPqSZIg0IJGHnbFOwypEQNWRpEICVNmvDV+loDy3xq4zaoPw== X-Received: by 2002:a5d:5986:: with SMTP id n6mr25028444wri.574.1643814810787; Wed, 02 Feb 2022 07:13:30 -0800 (PST) Received: from localhost.localdomain (xdsl-188-155-168-84.adslplus.ch. [188.155.168.84]) by smtp.gmail.com with ESMTPSA id p7sm5098872wmq.20.2022.02.02.07.13.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 02 Feb 2022 07:13:30 -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 v2 2/3] mfd: exynos-lpass: Drop unneeded syscon.h include Date: Wed, 2 Feb 2022 16:13:09 +0100 Message-Id: <20220202151310.285561-3-krzysztof.kozlowski@canonical.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20220202151310.285561-1-krzysztof.kozlowski@canonical.com> References: <20220202151310.285561-1-krzysztof.kozlowski@canonical.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@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 Reviewed-by: Alim Akhtar --- 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 Wed Feb 2 15:13:10 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 539521 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 15F98C4321E for ; Wed, 2 Feb 2022 15:13:38 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345402AbiBBPNg (ORCPT ); Wed, 2 Feb 2022 10:13:36 -0500 Received: from smtp-relay-internal-1.canonical.com ([185.125.188.123]:51546 "EHLO smtp-relay-internal-1.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345384AbiBBPNd (ORCPT ); Wed, 2 Feb 2022 10:13:33 -0500 Received: from mail-wm1-f71.google.com (mail-wm1-f71.google.com [209.85.128.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-1.canonical.com (Postfix) with ESMTPS id 582AC4030F for ; Wed, 2 Feb 2022 15:13:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1643814812; bh=iLc3G6YH7/qnd/6MBLVC0gYFOAHbytgg/CHu+i+G3Xk=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=l0RjJPeRobWl8E4JtBIW+/tfP0baT0FPo1eU33y/YIi8zjHNK3UNZRGJmcuERh2T6 hKfwMJPvAvCqQXbFoyVyHvVbso5LWzprGAfrQPWiB6F8SmM//LaIeKNni8KYGXkGVn 5V1zpBslkDDHPQvj1Jyr9rj48afnscPVymIFc14Bd528TI+kE6rGs+bFDeIoE/LHAy AAdUp4raMvTunV0JmvoDU9pBh7MzdQs+rZBRNQHcciC+S81R1kZss6pqOxXe0njYmB 5QUnE9au+q9y/eDZmRNkDajLcBu5NzlvZ78OPIsc2VU8m5AiBNe5038sH3Duykk7H+ 2LJ0ay8Yaw7Tg== Received: by mail-wm1-f71.google.com with SMTP id bg32-20020a05600c3ca000b00349f2aca1beso2608416wmb.9 for ; Wed, 02 Feb 2022 07:13:32 -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=iLc3G6YH7/qnd/6MBLVC0gYFOAHbytgg/CHu+i+G3Xk=; b=bfXA6XWHVRgY/yGaslCnrx3Y5SJYBkKyZx2KVsEkXyYaT9/ty3LJU65hP8oSMgZy9m 4TmeiSG3eWPmPRCiJQu6AufSKHfqRLgEbNQ/NaMF+KUT/M6VG+BSpeEbqkHLeIA0tfJW mFteB3Hd+RZTQj9APO52P3CbPI0E/hEAengR4kbSGqqPKq/6/wodlobeyomeuBPKx1FG fMpQOE5E3Gnem2zdZJM73reuSI3pfQxK2ItiySUnHl3+A3sDMnggxCEsgiCFxCeXChNJ Bts367UfsGsLvbYfjq6hWks8PjC6kd4LXTx+KJehbMi01pOmOg9/QPhwAlui2urZAjZA rRqA== X-Gm-Message-State: AOAM533fRFkU8cjOoAP759fELeU0Aw20GYy1+DpxNnWQynkCdeMWVXRg Y8phm4lJoHhaYsGVJU8HK1tq0/U8P8beR9IHyz23tn/BRKHKYt3cUljomWUrUbcT6icyfanh/Wn le4eoMnxEw2Jye5U7U/CVvxvKaz0E66DOML3J8RoO6tbpYpHI X-Received: by 2002:a05:6000:156d:: with SMTP id 13mr20021679wrz.700.1643814811989; Wed, 02 Feb 2022 07:13:31 -0800 (PST) X-Google-Smtp-Source: ABdhPJw74yve7th3H3L856WxT+OL6uQFH9rhguofhpxZXCx5JlJrmjaGkzwUXjdw3yHNp9V3hNbiSA== X-Received: by 2002:a05:6000:156d:: with SMTP id 13mr20021662wrz.700.1643814811802; Wed, 02 Feb 2022 07:13:31 -0800 (PST) Received: from localhost.localdomain (xdsl-188-155-168-84.adslplus.ch. [188.155.168.84]) by smtp.gmail.com with ESMTPSA id p7sm5098872wmq.20.2022.02.02.07.13.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 02 Feb 2022 07:13:31 -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 Cc: Rob Herring Subject: [PATCH v2 3/3] dt-bindings: mfd: samsung, exynos5433-lpass: Convert to dtschema Date: Wed, 2 Feb 2022 16:13:10 +0100 Message-Id: <20220202151310.285561-4-krzysztof.kozlowski@canonical.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20220202151310.285561-1-krzysztof.kozlowski@canonical.com> References: <20220202151310.285561-1-krzysztof.kozlowski@canonical.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org Convert the Exynos5433 LPASS bindings to DT schema format. Signed-off-by: Krzysztof Kozlowski Reviewed-by: Rob Herring --- .../bindings/mfd/samsung,exynos5433-lpass.txt | 72 ----------- .../mfd/samsung,exynos5433-lpass.yaml | 117 ++++++++++++++++++ 2 files changed, 117 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..bae55c98961c --- /dev/null +++ b/Documentation/devicetree/bindings/mfd/samsung,exynos5433-lpass.yaml @@ -0,0 +1,117 @@ +# 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>; + }; + + 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>; + }; + };