Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp8012585rwb; Tue, 13 Dec 2022 00:31:20 -0800 (PST) X-Google-Smtp-Source: AA0mqf4aSVY29D0SOCcOpja812z/6q+TRton8VSeSkfrZkw6ZJ4kZyMdCcSpa9smDunhFnzNLRZY X-Received: by 2002:a17:907:d408:b0:7c1:d4c:f08c with SMTP id vi8-20020a170907d40800b007c10d4cf08cmr15732893ejc.4.1670920280249; Tue, 13 Dec 2022 00:31:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670920280; cv=none; d=google.com; s=arc-20160816; b=sQtrnkSY6c1DohHnULXbOV3aASM90OTYGVxZ3ZVf9Z5Zbi5csqE/p4otWlRl55FH/C lJW3WpA79zmQVg6m0bO0Xoi3wWcx4tyG5DnGCNEgzvztcZRr6/IUVezvBbU36Jtav1js ahvvt+1G5QS/DX6bRDzOJsq5LqhWcbOxn1Hk/l3GHOze/HZ2WnznRmBHMIfdKopITTLR CGc2pzPk2WMoSr6j+Xob4MG1814fC/30hSk0Wuv9UhFWLIX329uGP3KLzZaqnwjxw8n0 I6hHLZzRlwcUMfq+waMDdbVEA4dVcPu46KZuS7AMGwImhdFG3uufntRgZoPS7XBkrABx BByg== 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=CJixSTgpqF3OdK0vDhDwHMjBwJ1gZ7rzK8/3T+dLPIk=; b=jPJNtp+YfkZ4c3+Rq70wpDjHLB1JJgc0LJPQjxaHbAkzwDyhqceMWtXab4JMrB8/qG tziEJr3Cn3NGztOMchoN8Q3S7P2CS2hACindvrU3w1hN3ADD0Q5oYxsD7JPruM/2jMOR N1VBE6b/e5lMOzMzO4BOYC/xmbqLOO+pqXsPFOoSEymUmgKoRIYJazb3tmlQhdsQIbNx LE3KVdss+bVGn8t4C1/LBmSYyAE5zc+XPy0JDs/N7nojMhy+yfbVqM1ojvp4AFxlYTnh M+UhSMdK9URvrQ/7d3Wyy5g+3Bfs7HyryUEnVCh6X1zXM0HoA5oLhBGxvxzQyfAu/abx rKJg== 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 lo8-20020a170906fa0800b007c0e155ead2si6924539ejb.369.2022.12.13.00.31.02; Tue, 13 Dec 2022 00:31:20 -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 S234847AbiLMI0N (ORCPT + 74 others); Tue, 13 Dec 2022 03:26:13 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43380 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234755AbiLMIZL (ORCPT ); Tue, 13 Dec 2022 03:25:11 -0500 Received: from mx.socionext.com (mx.socionext.com [202.248.49.38]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id C32F0B4B4; 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:05 +0900 Received: from mail.mfilter.local (m-filter-2 [10.213.24.62]) by iyokan2-ex.css.socionext.com (Postfix) with ESMTP id 8F90F2058B4F; Tue, 13 Dec 2022 17:25:05 +0900 (JST) Received: from 172.31.9.51 (172.31.9.51) by m-FILTER with ESMTP; Tue, 13 Dec 2022 17:25:05 +0900 Received: from plum.e01.socionext.com (unknown [10.212.243.119]) by kinkan2.css.socionext.com (Postfix) with ESMTP id 43C1DA855F; 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 13/17] dt-bindings: soc: socionext: Add UniPhier media I/O block Date: Tue, 13 Dec 2022 17:24:45 +0900 Message-Id: <20221213082449.2721-14-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 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 | 65 +++++++++++++++++++ 1 file changed, 65 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..2cc38bb5038e --- /dev/null +++ b/Documentation/devicetree/bindings/soc/socionext/socionext,uniphier-mioctrl.yaml @@ -0,0 +1,65 @@ +# 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 + - 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@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>; + }; + }; + -- 2.25.1