Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp3787180rdb; Wed, 27 Dec 2023 22:54:18 -0800 (PST) X-Google-Smtp-Source: AGHT+IHuzD/Q+uikHPjf0gI5mgGfztku8K+cYXyPuHHZO6SukvlAa82iXQK+d+AjY28y9Orig15F X-Received: by 2002:ac8:7f92:0:b0:427:f975:65a3 with SMTP id z18-20020ac87f92000000b00427f97565a3mr500004qtj.27.1703746458693; Wed, 27 Dec 2023 22:54:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703746458; cv=none; d=google.com; s=arc-20160816; b=OQRngyBxajpwLB1RGSbS7X7gb+fSQtwIkgGc9QAEs2WagOHKFgp/1yQlEVr/bd8+Jd UlumqJ2i/Dj79MLyC4Pfqd7f75k+3mddWOeCxF/0XVzg9wy5GcAujjb2VVFH4ulNHKWM LhlLWhWVWCfXisF/up+/+l1deroxOA13dgSDDiHS68HYv9JNKmI0vsCle7/zA2uUnrmr X6HBZDf1xYZLrhNKnVIbtIXYZ0zoNKLaazuU0S3lMQXvpMXLztIfsSQtNm0EUel2hequ k3N+SCQbgH7yjxHh6jnMhikuUr+bB0tpwaqAYWKBe7XhUwbHF5c+PJQ4mSwYKa/JrpwF ILeA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from; bh=g0Rck+kfCKw+McTR2ClYvQSvlAarAeuOEMzl2JlG090=; fh=SujmxNWP6UUgOFmttKopM1tRLkthr7qfPRUP3RWwLJc=; b=n60RtqedxT6MMg2lk21Go7hn8Rdeq2MB72s8YrNs27u0n5I9EC/tlve9RUSa+6/QOZ 8VIqBt8jcjSfyFVbyt6DEM6Mbr/Ijly0GZ9ocNcwImv9hOiMD4n7dDPr7+0qOvBJLNHl x+mvNmCLhlDROv0Hu9bHbfbzXOpTGOzOLaUYblAyZk42M3rD5CF+xbUERuKKRxAw8y6J gkDqaRYnZwUAWgxov0s4heRhjg45iqqZNRUiC5J2ETh2O8+ZQ/dZGIxJeiOqKu6dzYub foPb3Y5AmOoAXQ+AQD+/dXt1LvKTNnOmPipElgfc8jDhswn/MbGWbWs0ASfO+n1Dks+S 3XcQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel+bounces-12469-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-12469-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id j16-20020ac85c50000000b0042384cda308si16675641qtj.189.2023.12.27.22.54.18 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Dec 2023 22:54:18 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-12469-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel+bounces-12469-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-12469-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 71B5A1C20E31 for ; Thu, 28 Dec 2023 06:54:18 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7231363CA; Thu, 28 Dec 2023 06:53:49 +0000 (UTC) X-Original-To: linux-kernel@vger.kernel.org Received: from ex01.ufhost.com (ex01.ufhost.com [61.152.239.75]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 794C163AC; Thu, 28 Dec 2023 06:53:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=starfivetech.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=starfivetech.com Received: from EXMBX166.cuchost.com (unknown [175.102.18.54]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "EXMBX166", Issuer "EXMBX166" (not verified)) by ex01.ufhost.com (Postfix) with ESMTP id 4FE0D24E295; Thu, 28 Dec 2023 14:53:36 +0800 (CST) Received: from EXMBX066.cuchost.com (172.16.7.66) by EXMBX166.cuchost.com (172.16.6.76) with Microsoft SMTP Server (TLS) id 15.0.1497.42; Thu, 28 Dec 2023 14:53:35 +0800 Received: from localhost.localdomain (202.188.176.82) by EXMBX066.cuchost.com (172.16.6.66) with Microsoft SMTP Server (TLS) id 15.0.1497.42; Thu, 28 Dec 2023 14:53:30 +0800 From: Alex Soo To: Ulf Hansson , Adrian Hunter , Yangtao Li , Andy Shevchenko , Linus Walleij , Rob Herring , "Krzysztof Kozlowski" , Conor Dooley , Emil Renner Berthing CC: , , , , "Paul Walmsley" , Palmer Dabbelt , Albert Ou , Alex Soo Subject: [PATCH 1/3] dt-bindings: mmc: sdhci-cadence6: add DT bindings documentation Date: Thu, 28 Dec 2023 14:53:20 +0800 Message-ID: <20231228065322.1176351-2-yuklin.soo@starfivetech.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20231228065322.1176351-1-yuklin.soo@starfivetech.com> References: <20231228065322.1176351-1-yuklin.soo@starfivetech.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain X-ClientProxiedBy: EXCAS066.cuchost.com (172.16.6.26) To EXMBX066.cuchost.com (172.16.6.66) X-YovoleRuleAgent: yovoleflag Content-Transfer-Encoding: quoted-printable Add DT bindings documentation for Cadence SD/eMMC host controller (Version 6) driver. Signed-off-by: Alex Soo --- .../devicetree/bindings/mmc/cdns,sd6hci.yaml | 65 +++++++++++++++++++ 1 file changed, 65 insertions(+) create mode 100644 Documentation/devicetree/bindings/mmc/cdns,sd6hci.yam= l diff --git a/Documentation/devicetree/bindings/mmc/cdns,sd6hci.yaml b/Doc= umentation/devicetree/bindings/mmc/cdns,sd6hci.yaml new file mode 100644 index 000000000000..97e28d720c7b --- /dev/null +++ b/Documentation/devicetree/bindings/mmc/cdns,sd6hci.yaml @@ -0,0 +1,65 @@ +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/mmc/cdns,sd6hci.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Cadence SD/SDIO/eMMC Host Controller Version 6.0 (SD6HC) + +maintainers: + - Alex Soo + +allOf: + - $ref: mmc-controller.yaml + +properties: + compatible: + items: + - enum: + - starfive,jh8100-sd6hc + - const: cdns,sd6hc + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + clock-names: + items: + - const: main + - const: sdmclk + + clocks: + items: + - description: main clock gate which controls the gating of all cl= ock signals to SDHCI + controller + - description: the SD master clock signal + + resets: + items: + - description: reset phandle which controls the assert/deassert of= all reset lines to + SDHCI controller + +required: + - compatible + - reg + - interrupts + - clock-names + - clocks + - resets + +unevaluatedProperties: false + +examples: + - | + emmc: mmc@1f110000 { + compatible =3D "starfive,jh8100-sd6hc", "cdns,sd6hc"; + reg =3D <0x1f110000 0x10000>; + interrupts =3D <174>; + clock-names =3D "main", "sdmclk"; + clocks =3D <&aoncrg 62>, + <&aoncrg 43>; + resets =3D <&aoncrg 9>; + bus-width =3D <8>; + }; --=20 2.25.1