From patchwork Tue Dec 13 08:24:47 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kunihiko Hayashi X-Patchwork-Id: 32681 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp2703171wrr; Tue, 13 Dec 2022 00:28:10 -0800 (PST) X-Google-Smtp-Source: AA0mqf4bc8dpOebtOhZU5pBM23bxou+DG8BqkIGMZwkVreK5a14bg+VLq+4Tk5LmKC9bJu6Qg/IF X-Received: by 2002:aa7:cd78:0:b0:46c:be9f:7c3b with SMTP id ca24-20020aa7cd78000000b0046cbe9f7c3bmr15717346edb.19.1670920090331; Tue, 13 Dec 2022 00:28:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670920090; cv=none; d=google.com; s=arc-20160816; b=rcNJbrwwmNGrynskn3G1ZgZ7+36qaXr680cI9bYNMDvr52yEBFQSM/elzOkDWNj4Bf rbXjh9Q75fyiNx4oVIro2/MM7as9KSxsGVEeCIr7IMgeiawAmLiAV5Nfd1QNIOCSPkPh zdhvOr7K/Bqtn1Bw6uOnZHRv91kloFSdkSRLTpdSDsepircxOzoCSzD7qS4DO7mEODBo ATB/3uHK3/LtdQJskdsvRsEsSvpVaYr4OITUcGfEkjxhd4hua8LEH9rTYtI39AxtdbwK zrughRn89tvNWY29Cnv9YxYs+q97Awn67OfAtQLFj+yH7glpIlERmMBykQmMWSQVkZ25 g7BA== 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=gK4AxCtA7kokzQr7v2Wpaio1lvqSTtcWVkoSgL5B7Y8=; b=LA1XlMYj0+GDgipRkTsIwrkfKpmrs8esYQhGXc2+1NI2/hrR6Jr9MMHs2S6RYUcjfr OdNbGj5P90/hWhE5OQ0tOWq3RhkPXj4YOhyJCf2J4OE+sfDYPYd0pgwIez1gFQPlWb75 bFXRnHxgf6Qa1A8zKrepXZcHomvJPDGsO6sDA5dXd9nldDVsBMkGY02/ne5grXo537RA uztkKh7+D1xfTqQOo8Cs5puC0OuZH7mTie/mogTLE0Qo8EdTh9+GVtpHSoMhGgWmzLdA H4S+msokYa0hRW/M+6Nk3CtfE80w8kl6R7/wWYIhp6/+mjrCAmzi225XkqDPlYKU+jbi Mojg== 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 b9-20020a056402084900b0046b1827eda2si10841974edz.74.2022.12.13.00.27.47; Tue, 13 Dec 2022 00:28:10 -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 S234852AbiLMI0S (ORCPT + 99 others); Tue, 13 Dec 2022 03:26:18 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43408 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234762AbiLMIZM (ORCPT ); Tue, 13 Dec 2022 03:25:12 -0500 Received: from mx.socionext.com (mx.socionext.com [202.248.49.38]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 67DAF13FA1; Tue, 13 Dec 2022 00:25:09 -0800 (PST) Received: from unknown (HELO kinkan2-ex.css.socionext.com) ([172.31.9.52]) 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 kinkan2-ex.css.socionext.com (Postfix) with ESMTP id 1921C2059054; 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 8CFBCA855F; 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 15/17] dt-bindings: soc: socionext: Add UniPhier ADAMV block Date: Tue, 13 Dec 2022 17:24:47 +0900 Message-Id: <20221213082449.2721-16-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 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?1752086704552719884?= X-GMAIL-MSGID: =?utf-8?q?1752086704552719884?= Add devicetree binding schema for the ADAMV block implemented on Socionext Uniphier SoCs. The ADAMV block is analog signal amplifier that is a part of the external video and audio I/O system. This block is implemented on LD11 and LD20, and this is defined for controlling audio I/O reset only. Signed-off-by: Kunihiko Hayashi Reviewed-by: Krzysztof Kozlowski --- .../socionext/socionext,uniphier-adamv.yaml | 50 +++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 Documentation/devicetree/bindings/soc/socionext/socionext,uniphier-adamv.yaml diff --git a/Documentation/devicetree/bindings/soc/socionext/socionext,uniphier-adamv.yaml b/Documentation/devicetree/bindings/soc/socionext/socionext,uniphier-adamv.yaml new file mode 100644 index 000000000000..32d9cc2d72a8 --- /dev/null +++ b/Documentation/devicetree/bindings/soc/socionext/socionext,uniphier-adamv.yaml @@ -0,0 +1,50 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/soc/socionext/socionext,uniphier-adamv.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Socionext UniPhier ADAMV block + +maintainers: + - Kunihiko Hayashi + +description: |+ + ADAMV block implemented on Socionext UniPhier SoCs is an analog signal + amplifier that is a part of the external video and audio I/O system. + + This block is defined for controlling audio I/O reset only. + +properties: + compatible: + items: + - enum: + - socionext,uniphier-ld11-adamv + - socionext,uniphier-ld20-adamv + - const: simple-mfd + - const: syscon + + reg: + maxItems: 1 + + reset-controller: + $ref: /schemas/reset/socionext,uniphier-reset.yaml# + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + syscon@57920000 { + compatible = "socionext,uniphier-ld20-adamv", + "simple-mfd", "syscon"; + reg = <0x57920000 0x1000>; + + reset-controller { + compatible = "socionext,uniphier-ld20-adamv-reset"; + #reset-cells = <1>; + }; + };