From patchwork Tue Nov 29 10:35:05 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kunihiko Hayashi X-Patchwork-Id: 27159 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp253919wrr; Tue, 29 Nov 2022 02:36:04 -0800 (PST) X-Google-Smtp-Source: AA0mqf7sVsuQJVahS8RrIqaVvhzLVpfANPjixEE8POi+OS1ah+wUleKu6+n+iq9ILmK8KNZDgAKp X-Received: by 2002:a17:90b:f06:b0:218:d86a:3cda with SMTP id br6-20020a17090b0f0600b00218d86a3cdamr33095754pjb.99.1669718163839; Tue, 29 Nov 2022 02:36:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669718163; cv=none; d=google.com; s=arc-20160816; b=izApw5OVsSPtjh0wCgCoKLP1UeEN6x1N/fEet8tnYdhGaLO3AH/waQ2gDP2Q/42NC9 +QyiI2RxUAYbbgILRjCNp7sJQgt3HdnXIwI7+jDYNR/I8gxoHdEgc4Ul4BxoSr4krsT5 b0Fr1gBPN5BdZVvktkG0E89RFtWBx1H6T+vSn/AqhPAlfloVe4S86lPAgUqvEK3RWNFr xXJCUmzzsusBk/xRyaBD5ew/Em2RHX6HUnSitRseBqnShW8fp8BT7H7zbTg0ZrhbWKth 1tdnFqNGamnNo8XYz0PUiSMmjpfe0ytCujtM0A879yxbyo8G+Cy5udtLbmuLziVWrw7k 7U3g== 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=39Ait1iPXkly0rAOWIAzvN+YRN55c+g4hSf7FuuDg3o=; b=EZkUADLb5c3+etaBgII71Ungtu5SAFd12tUG6vmx4EMYBenwlU9RbygLgiaUXMvfTv ebChhH/tkpocwnVEQReg+GgHs8sTXsI0P73sO/PHLuEnwPJByw7PXDYbxiMWuFr4qB+O 94gDiEq8i9uXGNTkqOZ+6AKMxql/I0e9OBHrnQBLG12oGR9KNKw6bfDKUM8MAfEZo8dR S+p49BAOBhzf12TimcZPEkZ34j8NseV/8X1FBdoF/f/hgNq75siiaRkkO+JY56bjrHNM j0ZZDIdCARJ8FpsPM+h609Ad+/RNUy9+7lO7xMoMJJpOxI20KaeE1I/UhlRsX86x5QFA QG2g== 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 Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id c2-20020a056a00248200b0057369d88b75si15619412pfv.228.2022.11.29.02.35.50; Tue, 29 Nov 2022 02:36:03 -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 S231740AbiK2Kfd (ORCPT + 99 others); Tue, 29 Nov 2022 05:35:33 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53388 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230291AbiK2KfT (ORCPT ); Tue, 29 Nov 2022 05:35:19 -0500 Received: from mx.socionext.com (mx.socionext.com [202.248.49.38]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id EB0F76315; Tue, 29 Nov 2022 02:35:17 -0800 (PST) Received: from unknown (HELO iyokan2-ex.css.socionext.com) ([172.31.9.54]) by mx.socionext.com with ESMTP; 29 Nov 2022 19:35:17 +0900 Received: from mail.mfilter.local (m-filter-1 [10.213.24.61]) by iyokan2-ex.css.socionext.com (Postfix) with ESMTP id 4C402205D901; Tue, 29 Nov 2022 19:35:17 +0900 (JST) Received: from 172.31.9.51 (172.31.9.51) by m-FILTER with ESMTP; Tue, 29 Nov 2022 19:35:17 +0900 Received: from plum.e01.socionext.com (unknown [10.212.243.119]) by kinkan2.css.socionext.com (Postfix) with ESMTP id EAEE3A8556; Tue, 29 Nov 2022 19:35:16 +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 4/8] dt-bindings: soc: socionext: Add UniPhier media I/O block Date: Tue, 29 Nov 2022 19:35:05 +0900 Message-Id: <20221129103509.9958-5-hayashi.kunihiko@socionext.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221129103509.9958-1-hayashi.kunihiko@socionext.com> References: <20221129103509.9958-1-hayashi.kunihiko@socionext.com> MIME-Version: 1.0 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1750826393062834650?= X-GMAIL-MSGID: =?utf-8?q?1750826393062834650?= Add devicetree binding schema for the media I/O block implemented on Socionext Uniphier SoCs. This block is implemented on LD4, sLD8, Pro4, and LD11 SoCs. Media I/O block implemented on Socionext UniPhier SoCs is an integrated component of the stream type peripherals including SD, USB2.0, eMMC, and MIO-DMAC. Media I/O block has a common logic to control the component. Signed-off-by: Kunihiko Hayashi --- .../socionext/socionext,uniphier-mioctrl.yaml | 67 +++++++++++++++++++ 1 file changed, 67 insertions(+) create mode 100644 Documentation/devicetree/bindings/soc/socionext/socionext,uniphier-mioctrl.yaml diff --git a/Documentation/devicetree/bindings/soc/socionext/socionext,uniphier-mioctrl.yaml b/Documentation/devicetree/bindings/soc/socionext/socionext,uniphier-mioctrl.yaml new file mode 100644 index 000000000000..b2d7cab10935 --- /dev/null +++ b/Documentation/devicetree/bindings/soc/socionext/socionext,uniphier-mioctrl.yaml @@ -0,0 +1,67 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/soc/socionext/socionext,uniphier-mioctrl.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Socionext UniPhier media I/O block (MIO) controller + +maintainers: + - Kunihiko Hayashi + +description: |+ + Media I/O block implemented on Socionext UniPhier SoCs is a legacy + integrated component of the stream type peripherals including USB2.0, + SD/eMMC, and MIO-DMAC. + Media I/O block has a common logic to control the component. + + Recent SoCs have SD interface logic specialized only for SD functions + as a subset of media I/O block. See socionext,uniphier-sdctrl.yaml. + +properties: + compatible: + items: + - enum: + - socionext,uniphier-ld4-mioctrl + - socionext,uniphier-pro4-mioctrl + - socionext,uniphier-sld8-mioctrl + - socionext,uniphier-ld11-mioctrl + - socionext,uniphier-mioctrl + - const: simple-mfd + - const: syscon + + reg: + maxItems: 1 + +patternProperties: + "^clock-controller(@[0-9a-f]+)?$": + $ref: /schemas/clock/socionext,uniphier-clock.yaml# + + "^reset-controller(@[0-9a-f]+)?$": + $ref: /schemas/reset/socionext,uniphier-reset.yaml# + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + syscon@5b3e0000 { + compatible = "socionext,uniphier-ld11-mioctrl", + "simple-mfd", "syscon"; + reg = <0x5b3e0000 0x800>; + + clock-controller { + compatible = "socionext,uniphier-ld11-mio-clock"; + #clock-cells = <1>; + }; + + reset-controller { + compatible = "socionext,uniphier-ld11-mio-reset"; + #reset-cells = <1>; + resets = <&sys_rst 7>; + }; + }; +