From patchwork Tue Nov 29 10:35:07 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kunihiko Hayashi X-Patchwork-Id: 27171 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp260636wrr; Tue, 29 Nov 2022 02:54:38 -0800 (PST) X-Google-Smtp-Source: AA0mqf6fJ5gswVrPU/sVAyKu4LBLPVk99JIQiOf/ZAoSE8Oey6cHtILgRD1+XqgwDfSsLp4OjXW1 X-Received: by 2002:a05:6402:1f89:b0:458:caec:8f1e with SMTP id c9-20020a0564021f8900b00458caec8f1emr50423769edc.280.1669719278036; Tue, 29 Nov 2022 02:54:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669719278; cv=none; d=google.com; s=arc-20160816; b=SfyLB0+qmosLQ+R573ry/ssfpfinNvBEz9NjWQynqZBC3+2xGQJoqOmZi/fsoM6M/s iIiQvX6MJ+UXKaxQIGL1d0sZ1WWEVdwcV+ECVbb2JYAL0No1b4qOOaBdjZrNnv3h9sxb MKq0qyI8zEZOZUEv72rIcQmkL06DSS2fRI+RkwdpTnKnt6dSJ58GI+mydkO5osSqRqAP d1uvxo0E8gew2pcKd12gYx2uCg5MdXNefwqAdZlck5NlMFhJxlp2b5ib978SlYhV0su8 zcq46VYibDIOEoZ4p278njGpBWECzS89hKHodhOCEsUPgVDZ8OgH4gSnCh3CgAt1vTqz 7gVQ== 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=ZbD5w8KQYvLT9ha1YGCrMIgulz6+W0z/fc++RKedaQI=; b=GOJrDOKJDo6AdM4NHG0k3FP8zb+wTNnHeNxJDgDlIRkKTiQ4LIkDxSKW5Y7ywWyZqo 7VrMppi1HqCtrrSrcssth0fxDfRfzGd3moLi8qvH1rtc4KetUjOhFOB6lL1FSl+TywQ3 grohBiHc3kWdi/GVa1b3Xag/sWWNHg/QuafFs9rnvKpGMpvl9+abYbHkAL11K/TLanPn VCkRkGw9+kGBTb8pPVuxt9gemOLc+7DabJ8p/Ls6yRhY98+l8ycwfQJjF77XkA7oUoLD lJAj9HRpgXSJDeZGfMjEpmkZYmAwQu+XCD2CMdAkqcgO135AXgKMJPnI2Z32of0bnIbM Jk4g== 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 be16-20020a0564021a3000b0046184b7c4besi10458392edb.462.2022.11.29.02.54.13; Tue, 29 Nov 2022 02:54:38 -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 S231560AbiK2Kfy (ORCPT + 99 others); Tue, 29 Nov 2022 05:35:54 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53450 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231151AbiK2KfV (ORCPT ); Tue, 29 Nov 2022 05:35:21 -0500 Received: from mx.socionext.com (mx.socionext.com [202.248.49.38]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 4E11715A18; Tue, 29 Nov 2022 02:35:20 -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-2 [10.213.24.62]) by iyokan2-ex.css.socionext.com (Postfix) with ESMTP id 971D0205D901; 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 3E9BEA8556; Tue, 29 Nov 2022 19:35:17 +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 6/8] dt-bindings: soc: socionext: Add UniPhier ADAMV block Date: Tue, 29 Nov 2022 19:35:07 +0900 Message-Id: <20221129103509.9958-7-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?1750827561242342686?= X-GMAIL-MSGID: =?utf-8?q?1750827561242342686?= 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 --- .../socionext/socionext,uniphier-adamv.yaml | 52 +++++++++++++++++++ 1 file changed, 52 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..ae806960b3f1 --- /dev/null +++ b/Documentation/devicetree/bindings/soc/socionext/socionext,uniphier-adamv.yaml @@ -0,0 +1,52 @@ +# 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 + - socionext,uniphier-adamv + - const: simple-mfd + - const: syscon + + reg: + maxItems: 1 + +patternProperties: + "^reset-controller(@[0-9a-f]+)?$": + $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>; + }; + };