Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp348098rwb; Tue, 6 Dec 2022 22:27:03 -0800 (PST) X-Google-Smtp-Source: AA0mqf6psWboWY9OkSFKzT/o09TFYp99x2cuKlI27tzDs8ZolvNfUtcLGu4cPUiQLO1uMDg9A28B X-Received: by 2002:a05:6402:144f:b0:46b:51e5:832a with SMTP id d15-20020a056402144f00b0046b51e5832amr36478918edx.331.1670394422833; Tue, 06 Dec 2022 22:27:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670394422; cv=none; d=google.com; s=arc-20160816; b=qcNfS8Ed09XiA8zmgT6w18n4YTiR42e+zs19ou41ynKdNil9zi6J9xkHLXaoHwZHov 7gu19PVD2x3CbLouFPQP1OA7U8tKl1+6vGnZAqOht4qy+75+ZQCWDyB87dkJkH6ujchz SJe0iDPx7bjBTSTHnOcmJUb/vvgA40wAyzesN/7RjSqAMjhuWELRDOy2/7FfdWsZ6CfV WkiGYEmGzMDoTN/UGq4svgzkYpfv14/jZMvF2S/kVgL4yCEN3UE9R4wZw56CL8EpsxzR /B6/hHbk84BvIG3IOgE9daRdAqwGNEuuAqbG0QrZiM4rFHV/H8WuB2rqLaV+FUb3tqmz PbVA== 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=C56aHPJTOVDaZ5bVGVcQPj+CFlvl8iKKXaGrxg3CBXs=; b=IDIWSm+HFyCh/CZUJLEGpvxdfrT9HdyRNG4fAq/RjAi3On14QIrZYtPlVTtdXhYvXP olyc4O22j6rMcRjF8CqLq95erGekRXkPc50QeL2hiPKT54tGL1D6tQ0w5/YU9nmN7TDj rqFMdhJR3aHPRBzJc/xqM113SdXcFZ7ff5kt2CjdFxOB1DCRLgOvYjP1RRBZG8TGx+Hh Evg5h3UB5ur4MyjueKuyry8+GRilCamSqyWk13Z5x7oa+cozWExWawoZ+RFx6RHo9hr1 ikNU/1JwkSTTHHMPUzHR97iAfXLzMRvGMs1AcsvDQIXHElpCPlsSXkuH2QzLsvrxPXMw Kfkg== 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 hb17-20020a170907161100b007c0fa2e0f95si6249146ejc.167.2022.12.06.22.26.44; Tue, 06 Dec 2022 22:27:02 -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 S229843AbiLGFzG (ORCPT + 76 others); Wed, 7 Dec 2022 00:55:06 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36690 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229734AbiLGFyh (ORCPT ); Wed, 7 Dec 2022 00:54:37 -0500 Received: from mx.socionext.com (mx.socionext.com [202.248.49.38]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 3D71C58BE5; Tue, 6 Dec 2022 21:54:35 -0800 (PST) Received: from unknown (HELO kinkan2-ex.css.socionext.com) ([172.31.9.52]) by mx.socionext.com with ESMTP; 07 Dec 2022 14:54:32 +0900 Received: from mail.mfilter.local (m-filter-1 [10.213.24.61]) by kinkan2-ex.css.socionext.com (Postfix) with ESMTP id 0A9AB2058442; Wed, 7 Dec 2022 14:54:32 +0900 (JST) Received: from 172.31.9.51 (172.31.9.51) by m-FILTER with ESMTP; Wed, 7 Dec 2022 14:54:32 +0900 Received: from plum.e01.socionext.com (unknown [10.212.243.119]) by kinkan2.css.socionext.com (Postfix) with ESMTP id A3B2A1DA6; Wed, 7 Dec 2022 14:54:31 +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 v2 12/16] dt-bindings: soc: socionext: Add UniPhier media I/O block Date: Wed, 7 Dec 2022 14:54:01 +0900 Message-Id: <20221207055405.30940-13-hayashi.kunihiko@socionext.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221207055405.30940-1-hayashi.kunihiko@socionext.com> References: <20221207055405.30940-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 | 66 +++++++++++++++++++ 1 file changed, 66 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..1994355a27d3 --- /dev/null +++ b/Documentation/devicetree/bindings/soc/socionext/socionext,uniphier-mioctrl.yaml @@ -0,0 +1,66 @@ +# 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 + +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>; + }; + }; + -- 2.25.1