Received: by 2002:a05:6a10:83d0:0:0:0:0 with SMTP id o16csp20058pxh; Thu, 7 Apr 2022 12:42:10 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxE7Lex+aJ+Nc2FzMoj+tE1EWxDmmYEBdJ15WeZRzYVCYwBq77K2FzIY8rMXdpqwfFzvElV X-Received: by 2002:a63:5a55:0:b0:399:28c:6af9 with SMTP id k21-20020a635a55000000b00399028c6af9mr12538558pgm.111.1649360530612; Thu, 07 Apr 2022 12:42:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649360530; cv=none; d=google.com; s=arc-20160816; b=DdCHf9OQC7ttVM9HYIWnJpaJM67XsYJ0kIHWPyci9qb7CoErRtmxNZhsZh8stRlvaw 2TgvZiOaBjktQxLXEcUB92JKsMMViAcKBa6+HaLvBaNCvid/1uXn65hkEWnyhItjp1il Pe9nBHfoXcrzm3n9hP+Peenruq2VZEFv4lzhA172d264R4ybn69cb0fJNTe568vd2Ax6 Tn+L487IrMhGDqpNbw13W4exYxCKk8bHFe8laLvd4iYfU9+fuaVUOVYKaWcNTzQOqswB 3JCwmw8vwcD+QKQhjYYssUwausp6cRcKQunZAp4dG5FCfvBdTwYvelP/TXbGRNfw5XIc eaEg== 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 :message-id:date:subject:cc:to:from; bh=EWxcWKRkrWrFUPcWcpdPtjN1mXiSwMpGY2d7reZrLM4=; b=MBEHVoutRGFgIuUDXVFDtoRCPE1pvVl1XFXTqYV9L7rfb6uUTlPpo4lp6kVOLbVLBW uW3qzBC6B2TBrUgyxgBiYj3GcNTHbQfnMommNBv7UI52W1wML5PzW22IDN/hiN+dEn/u 0Xr/rNimfBr7Bl/d+D6PMIB0ciuthsKiV5bzGJSOnMLeQCdyDvlloLGVs65PUKZ0SMz7 zc5efs6+wNpAawmtyBK7pKCVoYcTjUyc0/Swm4YTIv94YRttCpc9bKwQzlxYhTfvDde4 brp6ABcrpAVShbnRIw0PnsPJ6wqbbAFlYVxhDZ9g8SIAeQbRlWMAZU+ZxY5MUUW3janN OGqA== 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:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id y29-20020a634b1d000000b003821d32f04csi19116129pga.116.2022.04.07.12.42.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Apr 2022 12:42:10 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 2BF27207CAC; Thu, 7 Apr 2022 12:18:00 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345063AbiDGPqR (ORCPT + 99 others); Thu, 7 Apr 2022 11:46:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42850 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345004AbiDGPqL (ORCPT ); Thu, 7 Apr 2022 11:46:11 -0400 Received: from metis.ext.pengutronix.de (metis.ext.pengutronix.de [IPv6:2001:67c:670:201:290:27ff:fe1d:cc33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8580AC1C82 for ; Thu, 7 Apr 2022 08:44:03 -0700 (PDT) Received: from dude03.red.stw.pengutronix.de ([2a0a:edc0:0:1101:1d::39]) by metis.ext.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1ncUIe-0007bF-Dk; Thu, 07 Apr 2022 17:43:56 +0200 From: Philipp Zabel To: devicetree@vger.kernel.org Cc: Rob Herring , Krzysztof Kozlowski , Neil Armstrong , linux-kernel@vger.kernel.org, Kevin Hilman , Jerome Brunet , Martin Blumenstingl Subject: [PATCH 01/14] dt-bindings: reset: amlogic,meson-axg-audio-arb: Convert to yaml Date: Thu, 7 Apr 2022 17:43:25 +0200 Message-Id: <20220407154338.4190674-1-p.zabel@pengutronix.de> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-SA-Exim-Connect-IP: 2a0a:edc0:0:1101:1d::39 X-SA-Exim-Mail-From: p.zabel@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=no 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 Convert the device tree bindings for the Amlogic audio memory arbiter controller to YAML schema to allow participating in DT validation. Signed-off-by: Philipp Zabel Cc: Kevin Hilman Cc: Jerome Brunet Cc: Martin Blumenstingl --- .../reset/amlogic,meson-axg-audio-arb.txt | 22 -------- .../reset/amlogic,meson-axg-audio-arb.yaml | 56 +++++++++++++++++++ 2 files changed, 56 insertions(+), 22 deletions(-) delete mode 100644 Documentation/devicetree/bindings/reset/amlogic,meson-axg-audio-arb.txt create mode 100644 Documentation/devicetree/bindings/reset/amlogic,meson-axg-audio-arb.yaml diff --git a/Documentation/devicetree/bindings/reset/amlogic,meson-axg-audio-arb.txt b/Documentation/devicetree/bindings/reset/amlogic,meson-axg-audio-arb.txt deleted file mode 100644 index 43e580ef64ba..000000000000 --- a/Documentation/devicetree/bindings/reset/amlogic,meson-axg-audio-arb.txt +++ /dev/null @@ -1,22 +0,0 @@ -* Amlogic audio memory arbiter controller - -The Amlogic Audio ARB is a simple device which enables or -disables the access of Audio FIFOs to DDR on AXG based SoC. - -Required properties: -- compatible: 'amlogic,meson-axg-audio-arb' or - 'amlogic,meson-sm1-audio-arb' -- reg: physical base address of the controller and length of memory - mapped region. -- clocks: phandle to the fifo peripheral clock provided by the audio - clock controller. -- #reset-cells: must be 1. - -Example on the A113 SoC: - -arb: reset-controller@280 { - compatible = "amlogic,meson-axg-audio-arb"; - reg = <0x0 0x280 0x0 0x4>; - #reset-cells = <1>; - clocks = <&clkc_audio AUD_CLKID_DDR_ARB>; -}; diff --git a/Documentation/devicetree/bindings/reset/amlogic,meson-axg-audio-arb.yaml b/Documentation/devicetree/bindings/reset/amlogic,meson-axg-audio-arb.yaml new file mode 100644 index 000000000000..704a502adc5d --- /dev/null +++ b/Documentation/devicetree/bindings/reset/amlogic,meson-axg-audio-arb.yaml @@ -0,0 +1,56 @@ +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +# Copyright 2019 BayLibre, SAS +%YAML 1.2 +--- +$id: "http://devicetree.org/schemas/reset/amlogic,meson-axg-audio-arb.yaml#" +$schema: "http://devicetree.org/meta-schemas/core.yaml#" + +title: Amlogic audio memory arbiter controller + +maintainers: + - Jerome Brunet + +description: The Amlogic Audio ARB is a simple device which enables or disables + the access of Audio FIFOs to DDR on AXG based SoC. + +properties: + compatible: + enum: + - amlogic,meson-axg-audio-arb + - amlogic,meson-sm1-audio-arb + + reg: + maxItems: 1 + + clocks: + maxItems: 1 + description: | + phandle to the fifo peripheral clock provided by the audio clock + controller. + + "#reset-cells": + const: 1 + +required: + - compatible + - reg + - clocks + - "#reset-cells" + +additionalProperties: false + +examples: + - | + // on the A113 SoC: + #include + bus { + #address-cells = <2>; + #size-cells = <2>; + + arb: reset-controller@280 { + compatible = "amlogic,meson-axg-audio-arb"; + reg = <0x0 0x280 0x0 0x4>; + #reset-cells = <1>; + clocks = <&clkc_audio AUD_CLKID_DDR_ARB>; + }; + }; -- 2.30.2