Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp8020319rwb; Tue, 13 Dec 2022 00:40:31 -0800 (PST) X-Google-Smtp-Source: AA0mqf564hZx6Q0w0gkOPpdNiYP/6ABY8+Sdvr44kFZSJcYCJAUCXsczRuwlcjnOR7qBKXimyqFM X-Received: by 2002:a05:6a20:2a29:b0:aa:45b5:7b13 with SMTP id e41-20020a056a202a2900b000aa45b57b13mr21887735pzh.29.1670920831121; Tue, 13 Dec 2022 00:40:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670920831; cv=none; d=google.com; s=arc-20160816; b=RBgP/z9BXlnABMYDzQIG/54zVGhAEx1ZbpifDjjxAn3SsmQFkho68erbFcX+oBYeRR n0MDylyxeoP99K9hmXSqB+ktOlLhNGCXi9BgFp7UlK7liERfOJ1ToHK2svwO8qUo2RqO 2gBHidiP9jdtIJFD2jBie03uG0iKzyU1zr7QTwul2u51JHn85wI/F8zwGK/KjHswRTJQ 3XGGhZ+vpPG1AfuQQnCoEbz+N/Huqab5HtHR7p++DinQpb0erq87NptTRwdtD8VIhDA4 BapR5cV8pXwU6yNb18rf5mP1q1OxyChND0I8T7OkSG5BwJxL+jQ4zCLchaAyCb0s0wFW 9CUQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=FIDVP8zdvh0edF0v1Ol01YI+Q60E7TIY8S2SCHo4aPc=; b=GxDImI9C0cm7DfPX5JcVN7/JWUi2KYqX+H5Cu7ebv2QKrfrAV9xgsdt+2Ze3o1jrU/ wBIWCz8HziIPxmWBa+nzr5LwxvaM2bqzymoagO90JqQqn/Q3CkVYjpAe+LenzQkpoZRt aMsrib38WBr932mZciknK1jCCBrwz9YJTJkaSyFSmLw6rbOk855n4UmpW/FnKVg9+U1X Bzqc60CjpYaDXdnFfz5WA/A77Nst3JphnQoto4eQKktFd+mb23MI8B+IaDDmCMFbWQLg zrtkfrHTMP7WMa0A8V3F2746+B8w5yHdLOPxd7RlYYOfaXbFXtJhfnAyB/7bbSkhRXV2 a0Ew== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id e7-20020a656787000000b0046fabcb7bacsi11562608pgr.823.2022.12.13.00.40.20; Tue, 13 Dec 2022 00:40:31 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234833AbiLMI0D (ORCPT + 74 others); Tue, 13 Dec 2022 03:26:03 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43410 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234753AbiLMIZK (ORCPT ); Tue, 13 Dec 2022 03:25:10 -0500 Received: from mx.socionext.com (mx.socionext.com [202.248.49.38]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id C3ACB13E8B; Tue, 13 Dec 2022 00:25:08 -0800 (PST) Received: from unknown (HELO iyokan2-ex.css.socionext.com) ([172.31.9.54]) by mx.socionext.com with ESMTP; 13 Dec 2022 17:25:06 +0900 Received: from mail.mfilter.local (m-filter-2 [10.213.24.62]) by iyokan2-ex.css.socionext.com (Postfix) with ESMTP id 156A72058B4F; Tue, 13 Dec 2022 17:25:06 +0900 (JST) Received: from 172.31.9.51 (172.31.9.51) by m-FILTER with ESMTP; Tue, 13 Dec 2022 17:25:06 +0900 Received: from plum.e01.socionext.com (unknown [10.212.243.119]) by kinkan2.css.socionext.com (Postfix) with ESMTP id 6832EA855C; Tue, 13 Dec 2022 17:25:05 +0900 (JST) From: Kunihiko Hayashi To: Rob Herring , Krzysztof Kozlowski Cc: Masami Hiramatsu , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Kunihiko Hayashi Subject: [PATCH v3 14/17] dt-bindings: soc: socionext: Add UniPhier SD interface block Date: Tue, 13 Dec 2022 17:24:46 +0900 Message-Id: <20221213082449.2721-15-hayashi.kunihiko@socionext.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221213082449.2721-1-hayashi.kunihiko@socionext.com> References: <20221213082449.2721-1-hayashi.kunihiko@socionext.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add devicetree binding schema for the SD interface block implemented on Socionext Uniphier SoCs. This SD interface block is attached outside SDHC, and has some SD related functions such as clock control, reset control, mode switch, and so on. Signed-off-by: Kunihiko Hayashi --- .../socionext/socionext,uniphier-sdctrl.yaml | 61 +++++++++++++++++++ 1 file changed, 61 insertions(+) create mode 100644 Documentation/devicetree/bindings/soc/socionext/socionext,uniphier-sdctrl.yaml diff --git a/Documentation/devicetree/bindings/soc/socionext/socionext,uniphier-sdctrl.yaml b/Documentation/devicetree/bindings/soc/socionext/socionext,uniphier-sdctrl.yaml new file mode 100644 index 000000000000..cb3b0d42739f --- /dev/null +++ b/Documentation/devicetree/bindings/soc/socionext/socionext,uniphier-sdctrl.yaml @@ -0,0 +1,61 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/soc/socionext/socionext,uniphier-sdctrl.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Socionext UniPhier SD interface logic + +maintainers: + - Kunihiko Hayashi + +description: |+ + SD interface logic implemented on Socionext UniPhier SoCs is + attached outside SDHC, and has some SD related functions such as + clock control, reset control, mode switch, and so on. + +properties: + compatible: + items: + - enum: + - socionext,uniphier-pro5-sdctrl + - socionext,uniphier-pxs2-sdctrl + - socionext,uniphier-ld11-sdctrl + - socionext,uniphier-ld20-sdctrl + - socionext,uniphier-pxs3-sdctrl + - socionext,uniphier-nx1-sdctrl + - const: simple-mfd + - const: syscon + + reg: + maxItems: 1 + + clock-controller: + $ref: /schemas/clock/socionext,uniphier-clock.yaml# + + reset-controller: + $ref: /schemas/reset/socionext,uniphier-reset.yaml# + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + syscon@59810000 { + compatible = "socionext,uniphier-ld20-sdctrl", + "simple-mfd", "syscon"; + reg = <0x59810000 0x400>; + + clock-controller { + compatible = "socionext,uniphier-ld20-sd-clock"; + #clock-cells = <1>; + }; + + reset-controller { + compatible = "socionext,uniphier-ld20-sd-reset"; + #reset-cells = <1>; + }; + }; -- 2.25.1