From patchwork Sun Jun 26 12:03:38 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 12895709 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 B3F9ECCA47E for ; Sun, 26 Jun 2022 12:03:51 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234328AbiFZMDt (ORCPT ); Sun, 26 Jun 2022 08:03:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43812 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234306AbiFZMDt (ORCPT ); Sun, 26 Jun 2022 08:03:49 -0400 Received: from mail-ed1-x52d.google.com (mail-ed1-x52d.google.com [IPv6:2a00:1450:4864:20::52d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1CFBDFD01 for ; Sun, 26 Jun 2022 05:03:48 -0700 (PDT) Received: by mail-ed1-x52d.google.com with SMTP id c65so9428614edf.4 for ; Sun, 26 Jun 2022 05:03:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=Vd+zawx4alYNKXvrzvWX3T7QNroTB1jkcMWzPCe+yb8=; b=f1Ei/ZROxc6rwWsOopyw759wUyGIExHza0zyyIstNK3LWT0uUsoD3IP7D3hyou15RI Tbo005PH5a7UUaGSvGFwndErKTZS3KrADbSt33luz+66ueBzCMzp0Fn5WWuNOFsHob9b AVjzABQZZvWRdkXtBg7xkMMKTiR1rTo0R67J4iHOpCcb3FG3vz6Jqnw5urg9Bw7XeiK+ Xig/P5hBcdqK/6Rb0PL9G+pLKCmpY0NQRXTEWEOTgGXdWCmIUHcyYG8n5T8nbrNmdEP+ tvf/TaTPk2bI4suQE1eujy7I1I31JUAvgEsh2JEL8H0O9vnnV47rgA6+pPkWB/ygmDcC nbQA== 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=Vd+zawx4alYNKXvrzvWX3T7QNroTB1jkcMWzPCe+yb8=; b=dlBNb0hbqFhjNOFYKT9BpiJh+EvcjYjCIt31HOAkUYZXqpf/L5UEdKHknZhlZ9g3aO 062q7BrKLtLdbXYMWPX2vx/tciNdkmny5qkJduvZ7jyX/JLt1DHqvJ7PyMMUYxy4yjD2 Bht1rfpeHwp8eZRcW93jib/kcSSes0rGPZCF3IktNlcunBdVsYR2Ayk386opr+tV354s WK/QV8ke+/gY/JVt5fgyqeQQJZlpAkXU/wJc7zYMLq4oBL+wqAA7QIW4dpxOASoPiw0x V1b+ZBv6vvClDtVIHzwy1MIq566hbmXWTqLce0zyWHNomIVyX1gH5Zjrp0hwklySuOQF IUcA== X-Gm-Message-State: AJIora9IReR7T/74GnGzt9AD0/z7eMxq9pEGXVVt7eG52qTPJzme1nX1 kOn/ad2ip9/uq+QXi3y4gnSCsg== X-Google-Smtp-Source: AGRyM1t4ltiV03YyTrXt5bzoh7znOQMJ/6bYzfVH/7bO6TQ7puLdKXmFxhzUtxTqwrwTKoMlpB3bfQ== X-Received: by 2002:a05:6402:5207:b0:435:a27b:88f7 with SMTP id s7-20020a056402520700b00435a27b88f7mr10765188edd.22.1656245026331; Sun, 26 Jun 2022 05:03:46 -0700 (PDT) Received: from localhost.localdomain (xdsl-188-155-176-92.adslplus.ch. [188.155.176.92]) by smtp.gmail.com with ESMTPSA id q24-20020a170906b29800b0072629374590sm3751585ejz.120.2022.06.26.05.03.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 26 Jun 2022 05:03:45 -0700 (PDT) From: Krzysztof Kozlowski To: Ulf Hansson , Rob Herring , Krzysztof Kozlowski , Alim Akhtar , Jaehoon Chung , linux-mmc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH 1/5] ARM: dts: exynos: align SDHCI node name with dtschema Date: Sun, 26 Jun 2022 14:03:38 +0200 Message-Id: <20220626120342.38851-2-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220626120342.38851-1-krzysztof.kozlowski@linaro.org> References: <20220626120342.38851-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-mmc@vger.kernel.org The node names should be generic and DT schema expects "mmc". Signed-off-by: Krzysztof Kozlowski Reviewed-by: Alim Akhtar --- arch/arm/boot/dts/exynos4.dtsi | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/arm/boot/dts/exynos4.dtsi b/arch/arm/boot/dts/exynos4.dtsi index 6f0ca3354e39..5c4ecda27a47 100644 --- a/arch/arm/boot/dts/exynos4.dtsi +++ b/arch/arm/boot/dts/exynos4.dtsi @@ -316,7 +316,7 @@ keypad: keypad@100a0000 { status = "disabled"; }; - sdhci_0: sdhci@12510000 { + sdhci_0: mmc@12510000 { compatible = "samsung,exynos4210-sdhci"; reg = <0x12510000 0x100>; interrupts = ; @@ -325,7 +325,7 @@ sdhci_0: sdhci@12510000 { status = "disabled"; }; - sdhci_1: sdhci@12520000 { + sdhci_1: mmc@12520000 { compatible = "samsung,exynos4210-sdhci"; reg = <0x12520000 0x100>; interrupts = ; @@ -334,7 +334,7 @@ sdhci_1: sdhci@12520000 { status = "disabled"; }; - sdhci_2: sdhci@12530000 { + sdhci_2: mmc@12530000 { compatible = "samsung,exynos4210-sdhci"; reg = <0x12530000 0x100>; interrupts = ; @@ -343,7 +343,7 @@ sdhci_2: sdhci@12530000 { status = "disabled"; }; - sdhci_3: sdhci@12540000 { + sdhci_3: mmc@12540000 { compatible = "samsung,exynos4210-sdhci"; reg = <0x12540000 0x100>; interrupts = ; From patchwork Sun Jun 26 12:03:39 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 12895710 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 04F25C43334 for ; Sun, 26 Jun 2022 12:03:54 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234341AbiFZMDv (ORCPT ); Sun, 26 Jun 2022 08:03:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43834 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234304AbiFZMDu (ORCPT ); Sun, 26 Jun 2022 08:03:50 -0400 Received: from mail-ej1-x62f.google.com (mail-ej1-x62f.google.com [IPv6:2a00:1450:4864:20::62f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DB22DDEA2 for ; Sun, 26 Jun 2022 05:03:48 -0700 (PDT) Received: by mail-ej1-x62f.google.com with SMTP id u15so13540666ejc.10 for ; Sun, 26 Jun 2022 05:03:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=MR+U/uv/sFjluVAnKsew00EB++5ncTIGVWbEuuMWfRM=; b=JNj4ATZc5CVCi2t3fTINxa9ELhyZk3hwB02+pcG9CQN437fmTf8vKSI64OID3H9baH fyJeHzSoP7gJVId+LA2Cszj4LKY4faXwXCkORt5umeUDtcWDAql8fzw7gteTcyPidPZy UfDi373pp3n+3DHY5YFfLgPoMm+e669GUtVyLCsWksZi7YHXRhrh0zIfB7Sav8yZkKez JjbBLjD8wnvxCrQnAQR1YCxWHaVHPkpV/vhnQmeAm6qYDGqWT9kJGrNZpokSU4gMD1FI rZmdFKoZgmopisozOBwR/fOQ0aaisEtKnq57vqRfaSym5M8qHcXMmkJ5dT0AuM/gMCQd cv6Q== 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=MR+U/uv/sFjluVAnKsew00EB++5ncTIGVWbEuuMWfRM=; b=DXk9pDW6JDuFDq4K0YJAeawAw2DhQKAmg9eE3524kk5U/Ti3digjQyZmiCu1SMHmBm pFFdcWAADo8n7BSSe08cKAHfKTZm+A9DCFxVPd0/TU4Y5SG9XCY6Iq1nq3F1ebz7Qvjj FV1j4u1YlLQJNdK8HesaV6M7eezSs5bWMpwyg/PTGuDKS6MGBTEOsBwbjwSpLdqNakG1 jtf8/NMf5vgqRjRcU2ITAOw6ART8SGN3AtgRZaVskd4PxpTg4GdML8EdHcG2/y5wQf10 sskL0Dc/N2s6GuL6w6/Bd/DRxj3BzeY+lwK7PZjZf2P5gh/cQ4hahLKiERbmF5ngmcHx Di6g== X-Gm-Message-State: AJIora8261L59NBC1whrCBwn+XTnNg2zD0pHDxxTHOCsfwoJkwieqWNh 7gpXBDw9M8b0xVOBTZKxHGdtvA== X-Google-Smtp-Source: AGRyM1vrX+NQCvsTSQ4ytCg0vIbGH4yopPHMm15pqoZyIntBxfRtbiGZkb36GyWsAjk2WTcZJeXiaA== X-Received: by 2002:a17:906:72cd:b0:722:d84b:30e3 with SMTP id m13-20020a17090672cd00b00722d84b30e3mr7889852ejl.726.1656245027347; Sun, 26 Jun 2022 05:03:47 -0700 (PDT) Received: from localhost.localdomain (xdsl-188-155-176-92.adslplus.ch. [188.155.176.92]) by smtp.gmail.com with ESMTPSA id q24-20020a170906b29800b0072629374590sm3751585ejz.120.2022.06.26.05.03.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 26 Jun 2022 05:03:46 -0700 (PDT) From: Krzysztof Kozlowski To: Ulf Hansson , Rob Herring , Krzysztof Kozlowski , Alim Akhtar , Jaehoon Chung , linux-mmc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH 2/5] ARM: dts: s3c24xx: align SDHCI node name with dtschema Date: Sun, 26 Jun 2022 14:03:39 +0200 Message-Id: <20220626120342.38851-3-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220626120342.38851-1-krzysztof.kozlowski@linaro.org> References: <20220626120342.38851-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-mmc@vger.kernel.org The node names should be generic and DT schema expects "mmc". Signed-off-by: Krzysztof Kozlowski --- arch/arm/boot/dts/s3c2416.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/s3c2416.dtsi b/arch/arm/boot/dts/s3c2416.dtsi index 4f084f4fe44f..4660751cb207 100644 --- a/arch/arm/boot/dts/s3c2416.dtsi +++ b/arch/arm/boot/dts/s3c2416.dtsi @@ -45,7 +45,7 @@ uart_3: serial@5000c000 { status = "disabled"; }; - sdhci_1: sdhci@4ac00000 { + sdhci_1: mmc@4ac00000 { compatible = "samsung,s3c6410-sdhci"; reg = <0x4AC00000 0x100>; interrupts = <0 0 21 3>; @@ -56,7 +56,7 @@ sdhci_1: sdhci@4ac00000 { status = "disabled"; }; - sdhci_0: sdhci@4a800000 { + sdhci_0: mmc@4a800000 { compatible = "samsung,s3c6410-sdhci"; reg = <0x4A800000 0x100>; interrupts = <0 0 20 3>; From patchwork Sun Jun 26 12:03:40 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 12895711 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 E122FCCA47E for ; Sun, 26 Jun 2022 12:03:54 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234373AbiFZMDx (ORCPT ); Sun, 26 Jun 2022 08:03:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43884 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234358AbiFZMDv (ORCPT ); Sun, 26 Jun 2022 08:03:51 -0400 Received: from mail-ej1-x629.google.com (mail-ej1-x629.google.com [IPv6:2a00:1450:4864:20::629]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C094AFD01 for ; Sun, 26 Jun 2022 05:03:49 -0700 (PDT) Received: by mail-ej1-x629.google.com with SMTP id d2so1821870ejy.1 for ; Sun, 26 Jun 2022 05:03:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=3yjkgvEiJ4GrRJrHNAHcvts5jioX9D/GIh99TWRnRa0=; b=A6xk36Vh/mThrY6yGG3ZUgY1Ng1muWPAoE/bEJ91XSdE3UG8Mi9UTVVZzfRgVkTFwp EQg33gTqux0JduDhefjV1rfCJmoJepRYm7ueqZPo60V46sRoXxquIrDWogcb5oo2kcU7 lW6Iz6vc2PuA/yFsmwwcQ3UvjfsZF8MsGAB1vK577/5cj1gaz4HmMIlzDUIhwcSItZH3 uMmBStzJZb2ExHB5qINHXiwWJzabz+scFjAgxoZKdvMNoth89SX7KouuPTTY0pdYdYzk vfnoBYLc4jKXzg4rHqhEzYSP0G20oP8XwZCSdZCr7BIAgEn2UM+AnE6Eh6f44+OH35jb UbFg== 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=3yjkgvEiJ4GrRJrHNAHcvts5jioX9D/GIh99TWRnRa0=; b=1LmaMNUlRv4s/mZDQ/7jFxdXZlRxn1qQjTVEQqvuBeuiH4mbmcioyqsNuv3BAnXkgv vxRRQkLfVXYbK+XFZQ25Qs0ZKl3S15j8DrMop+2TM/qRAQK9z1cOFiHL18sYsSF4hmRs J3QHuqfQ44pn72Di9KpvpmaForVW0vJfDYWUI6Odx5fka9VH84LdRaZKA5hQ7PVA/05W vS4DhmjisOnoMXFpDUrb2egJoY3njJ+khwDSs+/p0ztpKqKj+YVL/Afu2DSygsTFzRGu w6L3KZpOH4pqZ3jtlvGXRZU+kmPI/R6dgn6WziEr5FlTfr4CmTQvRT3kPIJk3v8usxt4 Nckg== X-Gm-Message-State: AJIora9GNVk7ZD1FEHPScAYJsWJYrgoMW30r1xn5QKbGBCPcHQfkoyNj ymx9jOrbP1D6r6EADa+67VDRBg== X-Google-Smtp-Source: AGRyM1sCPXT2h1HtpFnOqOWfck5y567fVV8puBnBUED9+Vxuk+jQ6+6AvNxkHTBLpiio6VY27A1hiA== X-Received: by 2002:a17:907:9958:b0:6e7:f67a:a1e7 with SMTP id kl24-20020a170907995800b006e7f67aa1e7mr7869317ejc.400.1656245028362; Sun, 26 Jun 2022 05:03:48 -0700 (PDT) Received: from localhost.localdomain (xdsl-188-155-176-92.adslplus.ch. [188.155.176.92]) by smtp.gmail.com with ESMTPSA id q24-20020a170906b29800b0072629374590sm3751585ejz.120.2022.06.26.05.03.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 26 Jun 2022 05:03:47 -0700 (PDT) From: Krzysztof Kozlowski To: Ulf Hansson , Rob Herring , Krzysztof Kozlowski , Alim Akhtar , Jaehoon Chung , linux-mmc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH 3/5] ARM: dts: s3c64xx: align SDHCI node name with dtschema Date: Sun, 26 Jun 2022 14:03:40 +0200 Message-Id: <20220626120342.38851-4-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220626120342.38851-1-krzysztof.kozlowski@linaro.org> References: <20220626120342.38851-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-mmc@vger.kernel.org The node names should be generic and DT schema expects "mmc". Signed-off-by: Krzysztof Kozlowski --- arch/arm/boot/dts/s3c64xx.dtsi | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/arm/boot/dts/s3c64xx.dtsi b/arch/arm/boot/dts/s3c64xx.dtsi index 67a7a66e11d5..c03df6355500 100644 --- a/arch/arm/boot/dts/s3c64xx.dtsi +++ b/arch/arm/boot/dts/s3c64xx.dtsi @@ -59,7 +59,7 @@ vic1: interrupt-controller@71300000 { #interrupt-cells = <1>; }; - sdhci0: sdhci@7c200000 { + sdhci0: mmc@7c200000 { compatible = "samsung,s3c6410-sdhci"; reg = <0x7c200000 0x100>; interrupt-parent = <&vic1>; @@ -70,7 +70,7 @@ sdhci0: sdhci@7c200000 { status = "disabled"; }; - sdhci1: sdhci@7c300000 { + sdhci1: mmc@7c300000 { compatible = "samsung,s3c6410-sdhci"; reg = <0x7c300000 0x100>; interrupt-parent = <&vic1>; @@ -81,7 +81,7 @@ sdhci1: sdhci@7c300000 { status = "disabled"; }; - sdhci2: sdhci@7c400000 { + sdhci2: mmc@7c400000 { compatible = "samsung,s3c6410-sdhci"; reg = <0x7c400000 0x100>; interrupt-parent = <&vic1>; From patchwork Sun Jun 26 12:03:41 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 12895712 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 ACCB6CCA482 for ; Sun, 26 Jun 2022 12:03:55 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234383AbiFZMDy (ORCPT ); Sun, 26 Jun 2022 08:03:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43864 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234342AbiFZMDv (ORCPT ); Sun, 26 Jun 2022 08:03:51 -0400 Received: from mail-ed1-x535.google.com (mail-ed1-x535.google.com [IPv6:2a00:1450:4864:20::535]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B4CBDD125 for ; Sun, 26 Jun 2022 05:03:49 -0700 (PDT) Received: by mail-ed1-x535.google.com with SMTP id z19so9386148edb.11 for ; Sun, 26 Jun 2022 05:03:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=rAhlAFe2ABh6/g/xW+LBv7hM+j8A+2tS21OjYfiHjwY=; b=zgJHEkmT/IxrbmKLY5EbqWjcWhpr/cfaGI6yzUkrqFNFeliY1Ub7eunxejNVzdz2Nc 6wu+gh7U/7+Oopg9nc5TlLWY3L1UoGR5wx1ZjhGOY5NoszVYYrqwSjydUUkBoDCaWquE cV7dFaml4aeYXj7YOOz7IzGTsL83kZCm3m3pI36D3GCHLbwupG5qm8y3OXpB4PiJ/Fki iLl6ozak94qZe5dxjBqNpaYpwjOxPPVkDNLeradeg77qI0AUkDTqxHQA8gLnsNCfwk6p uG+PLxok2otLi3ddXYyMmAzlMTLP5Gryq6/YIuM1d028KnYYcZHBTqaVyhNvNo/U4J4t HsLg== 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=rAhlAFe2ABh6/g/xW+LBv7hM+j8A+2tS21OjYfiHjwY=; b=wVAzpT6gUCMXUhpO6is/BZIr0ZL1YueaOnIl7oP7c59bC8HXKkrZK8eDgh0InDHLSD CikIQOZoMX02MO3duoHEBI4IBUnLR6/BOKIepnkW7Alvog+EfepcOjgskhALRFf4JeH2 Ox9kAeJVgA5MT8+sq0Ba6zfV8ccg6kcVFlWBe128WbIritYGYORs1pXcSByTNq0Qb52z D7jHZnlIUclpd4fHI+mzErFPKrxJyGKEdZih3FcnlJWonsgnyQCJeGXqll30pVi+Oj2o 9IQeV1hHyPn5xOlzPksVWaX5sD6T+1Giih45pyDvKS9H6+B/WHNaSNBtDz5h7tunq3LI i02Q== X-Gm-Message-State: AJIora+bveTbovLWFCmU3/PmrLO6ERXhrJ+pkjb7E5OdICmSuteU97WH cV04RdYcRGdq8SYJBLPxs0Y5mg== X-Google-Smtp-Source: AGRyM1tkL08L+E2VIeptJellhvnsGxRi769WL4DPPqu2XW8w15E+iTSsASxP8X5/9kkrcNVJXynwFA== X-Received: by 2002:a05:6402:1943:b0:437:6e67:c224 with SMTP id f3-20020a056402194300b004376e67c224mr8951087edz.182.1656245029323; Sun, 26 Jun 2022 05:03:49 -0700 (PDT) Received: from localhost.localdomain (xdsl-188-155-176-92.adslplus.ch. [188.155.176.92]) by smtp.gmail.com with ESMTPSA id q24-20020a170906b29800b0072629374590sm3751585ejz.120.2022.06.26.05.03.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 26 Jun 2022 05:03:48 -0700 (PDT) From: Krzysztof Kozlowski To: Ulf Hansson , Rob Herring , Krzysztof Kozlowski , Alim Akhtar , Jaehoon Chung , linux-mmc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH 4/5] ARM: dts: s5pv210: align SDHCI node name with dtschema Date: Sun, 26 Jun 2022 14:03:41 +0200 Message-Id: <20220626120342.38851-5-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220626120342.38851-1-krzysztof.kozlowski@linaro.org> References: <20220626120342.38851-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-mmc@vger.kernel.org The node names should be generic and DT schema expects "mmc". Signed-off-by: Krzysztof Kozlowski --- arch/arm/boot/dts/s5pv210.dtsi | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/arm/boot/dts/s5pv210.dtsi b/arch/arm/boot/dts/s5pv210.dtsi index f1b85aae8842..12e90a1cc6a1 100644 --- a/arch/arm/boot/dts/s5pv210.dtsi +++ b/arch/arm/boot/dts/s5pv210.dtsi @@ -357,7 +357,7 @@ uart3: serial@e2900c00 { status = "disabled"; }; - sdhci0: sdhci@eb000000 { + sdhci0: mmc@eb000000 { compatible = "samsung,s3c6410-sdhci"; reg = <0xeb000000 0x100000>; interrupt-parent = <&vic1>; @@ -368,7 +368,7 @@ sdhci0: sdhci@eb000000 { status = "disabled"; }; - sdhci1: sdhci@eb100000 { + sdhci1: mmc@eb100000 { compatible = "samsung,s3c6410-sdhci"; reg = <0xeb100000 0x100000>; interrupt-parent = <&vic1>; @@ -379,7 +379,7 @@ sdhci1: sdhci@eb100000 { status = "disabled"; }; - sdhci2: sdhci@eb200000 { + sdhci2: mmc@eb200000 { compatible = "samsung,s3c6410-sdhci"; reg = <0xeb200000 0x100000>; interrupt-parent = <&vic1>; @@ -390,7 +390,7 @@ sdhci2: sdhci@eb200000 { status = "disabled"; }; - sdhci3: sdhci@eb300000 { + sdhci3: mmc@eb300000 { compatible = "samsung,s3c6410-sdhci"; reg = <0xeb300000 0x100000>; interrupt-parent = <&vic3>; From patchwork Sun Jun 26 12:03:42 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 12895713 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 8945ACCA47E for ; Sun, 26 Jun 2022 12:04:01 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234360AbiFZMEA (ORCPT ); Sun, 26 Jun 2022 08:04:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43936 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234374AbiFZMDx (ORCPT ); Sun, 26 Jun 2022 08:03:53 -0400 Received: from mail-ed1-x532.google.com (mail-ed1-x532.google.com [IPv6:2a00:1450:4864:20::532]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DFD72F5BE for ; Sun, 26 Jun 2022 05:03:51 -0700 (PDT) Received: by mail-ed1-x532.google.com with SMTP id z7so9384932edm.13 for ; Sun, 26 Jun 2022 05:03:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=+zmPJgqjOhKNxFG0WLIBtjuHyrzK8bUH/JzPK1c1kpc=; b=WDacz+9KjhgEyr47IP9SwrI9knAGT37osRX03n2ARJEhWu2jCngSpFB/Ad0DmtKluA MqeCkie5cUPZ2B+VzIbl+ABTq/IhjCfX0OJ8rb7JwNNnG/ZFANAR5xAFCmQQw6QaJWU7 6c8enZnQaa3fkYTw2VfrZy3JGDW3jwte1YJhx7tj+lsqXM9o8Jhpi5+4FWsg+PRDm1s8 oQIN9sVTikAgfkf5+CQ9ZH0jYVu1TxRuZTjGCexI3YItIfZ05KDwIQG1TPPbgKlbiu3G fCMDe5H1AK4soeoz7PPIQa5lnCMphMuAxWSc286w1yrAGvJHv61dSQeCSOUiC8vxOWAq SB8g== 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=+zmPJgqjOhKNxFG0WLIBtjuHyrzK8bUH/JzPK1c1kpc=; b=sbZV6EJJrh/jjNR5YqNghpwiRqMy4u5bKHiezWofMacxsdXecxI+2NWQGBT7SMYDBJ sQ7gEF4mIHNFqPz7trePVAerLnWRjPQJLbXGPaJ40zacLVrtdQ/LZOLP4hNw0ROrTfqf Shw8XemLGJyMHboLYdVntImRcMLYdi9tcuytpeGMwnZuwnD9hQp5LI6pp/mhehsv6Wun wuQMnH7gnlaqs5NfhmNLrV68tGXiCbIJNraWstQBQVFEnpSq6CJ/j4ZM7dIrJvaNM/rN nFwgw7FC5CEELG0vEABV+dFtEwzcoNSV6hXMDyBrNtbKRyp0GMCICQZpnNtANSezGE3/ hREA== X-Gm-Message-State: AJIora8SSTV4Ep4JMGcK2FLJCVRPhmh2I+qkBuwll60/UHwYE0rUUj9J n8j4TciURILKwcdu6+5prP9BXQ== X-Google-Smtp-Source: AGRyM1t4tdIH5gDOHb7Z/tDF1bjiE1v9aeT3gyFwsF5yUDnE/VscnS05VH0cdHCya9w56xeLJJWUvQ== X-Received: by 2002:a50:ff0e:0:b0:433:5d15:eada with SMTP id a14-20020a50ff0e000000b004335d15eadamr10461999edu.102.1656245030325; Sun, 26 Jun 2022 05:03:50 -0700 (PDT) Received: from localhost.localdomain (xdsl-188-155-176-92.adslplus.ch. [188.155.176.92]) by smtp.gmail.com with ESMTPSA id q24-20020a170906b29800b0072629374590sm3751585ejz.120.2022.06.26.05.03.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 26 Jun 2022 05:03:49 -0700 (PDT) From: Krzysztof Kozlowski To: Ulf Hansson , Rob Herring , Krzysztof Kozlowski , Alim Akhtar , Jaehoon Chung , linux-mmc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH 5/5] dt-bindings: mmc: samsung,s3c6410-sdhci: convert to dtschema Date: Sun, 26 Jun 2022 14:03:42 +0200 Message-Id: <20220626120342.38851-6-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220626120342.38851-1-krzysztof.kozlowski@linaro.org> References: <20220626120342.38851-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-mmc@vger.kernel.org Convert the Samsung SoC SDHCI Controller bindings to DT schema. The original bindings were quite old and incomplete, so add during conversion typical (already used) properties like reg, clocks, interrupts. The bindings were not precising the clocks, although the upstream DTS and Linux driver were expecting bus clocks in certain patterns in any order. Document the status quo even though it is not a proper approach for bindings. Signed-off-by: Krzysztof Kozlowski Reviewed-by: Rob Herring --- .../bindings/mmc/samsung,s3c6410-sdhci.yaml | 81 +++++++++++++++++++ .../devicetree/bindings/mmc/samsung-sdhci.txt | 32 -------- 2 files changed, 81 insertions(+), 32 deletions(-) create mode 100644 Documentation/devicetree/bindings/mmc/samsung,s3c6410-sdhci.yaml delete mode 100644 Documentation/devicetree/bindings/mmc/samsung-sdhci.txt diff --git a/Documentation/devicetree/bindings/mmc/samsung,s3c6410-sdhci.yaml b/Documentation/devicetree/bindings/mmc/samsung,s3c6410-sdhci.yaml new file mode 100644 index 000000000000..5d873a60f650 --- /dev/null +++ b/Documentation/devicetree/bindings/mmc/samsung,s3c6410-sdhci.yaml @@ -0,0 +1,81 @@ +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/mmc/samsung,s3c6410-sdhci.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Samsung SoC SDHCI Controller + +maintainers: + - Jaehoon Chung + - Krzysztof Kozlowski + +properties: + compatible: + enum: + - samsung,s3c6410-sdhci + - samsung,exynos4210-sdhci + + reg: + maxItems: 1 + + clocks: + minItems: 2 + maxItems: 5 + + clock-names: + minItems: 2 + items: + - const: hsmmc + - pattern: "^mmc_busclk.[0-3]$" + - pattern: "^mmc_busclk.[0-3]$" + - pattern: "^mmc_busclk.[0-3]$" + - pattern: "^mmc_busclk.[0-3]$" + + interrupts: + maxItems: 1 + +required: + - compatible + - reg + - interrupts + - clocks + - clock-names + +allOf: + - $ref: mmc-controller.yaml# + - if: + properties: + compatible: + contains: + enum: + - samsung,exynos4210-sdhci + then: + properties: + clocks: + maxItems: 2 + clock-names: + items: + - const: hsmmc + - const: mmc_busclk.2 + +unevaluatedProperties: false + +examples: + - | + #include + #include + #include + + mmc@12510000 { + compatible = "samsung,exynos4210-sdhci"; + reg = <0x12510000 0x100>; + interrupts = ; + clocks = <&clock CLK_SDMMC0>, <&clock CLK_SCLK_MMC0>; + clock-names = "hsmmc", "mmc_busclk.2"; + bus-width = <4>; + cd-gpios = <&gpx3 4 GPIO_ACTIVE_LOW>; + pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_bus4 &sdhci2_cd>; + pinctrl-names = "default"; + vmmc-supply = <&ldo21_reg>; + }; diff --git a/Documentation/devicetree/bindings/mmc/samsung-sdhci.txt b/Documentation/devicetree/bindings/mmc/samsung-sdhci.txt deleted file mode 100644 index 42e0a9afa100..000000000000 --- a/Documentation/devicetree/bindings/mmc/samsung-sdhci.txt +++ /dev/null @@ -1,32 +0,0 @@ -* Samsung's SDHCI Controller device tree bindings - -Samsung's SDHCI controller is used as a connectivity interface with external -MMC, SD and eMMC storage mediums. This file documents differences between the -core mmc properties described by mmc.txt and the properties used by the -Samsung implementation of the SDHCI controller. - -Required SoC Specific Properties: -- compatible: should be one of the following - - "samsung,s3c6410-sdhci": For controllers compatible with s3c6410 sdhci - controller. - - "samsung,exynos4210-sdhci": For controllers compatible with Exynos4 sdhci - controller. - -Required Board Specific Properties: -- pinctrl-0: Should specify pin control groups used for this controller. -- pinctrl-names: Should contain only one value - "default". - -Example: - sdhci@12530000 { - compatible = "samsung,exynos4210-sdhci"; - reg = <0x12530000 0x100>; - interrupts = <0 75 0>; - bus-width = <4>; - cd-gpios = <&gpk2 2 0>; - pinctrl-names = "default"; - pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_bus4>; - }; - - Note: This example shows both SoC specific and board specific properties - in a single device node. The properties can be actually be separated - into SoC specific node and board specific node.