Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp3754229ybz; Mon, 20 Apr 2020 08:51:36 -0700 (PDT) X-Received: by 2002:a50:9b53:: with SMTP id a19mr15177315edj.104.1587397656471; Mon, 20 Apr 2020 08:47:36 -0700 (PDT) X-Google-Smtp-Source: APiQypK8GAiKbg9K/QkDKvFqd/pHGuzsSRl/3wMR9M6M8OIxd7fRzwZhE5eWlkfGgD/Q1kquK77C X-Received: by 2002:a50:9b53:: with SMTP id a19mr15177172edj.104.1587397655325; Mon, 20 Apr 2020 08:47:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1587397655; cv=none; d=google.com; s=arc-20160816; b=l8EyVw30JAJ5q2SiJxYp95I+jOs6LtQdaTLzO0hT44yuvIadr1OKBLNoZvaVVDqA2B 49A4F7UzGvTPp1kY3dSsgqJriOeb+1dC5ou5bZB5tqRfYOM0jYFgAn3tUEJVJdyNrPIU G+tYiANyKoltkTo18speGWV8KEZK4s1mnqzyhDWWzdUAuLUSKFsytFPw3+qM1X9/NGq9 RrXXifyA8eL1sOYAcjZNIQnOSw088dBPpY/wPFdE2TMrZBu4kJNDJppKoJ1dtBqbWWFj KTQCRjfWj0nsjzzUaCovCf5WNHCP/qcHCjjURX0mGwgyQQCAfsbNrTBdXIGW2ZIywa++ +WPw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=qNDX1e9cmLY8++RjUuUsNUnq+t/NLjmrrD3VfGW3Akc=; b=Ul7WqBIHtrqPegPtL3JX6nRcrhNzlsBuCOxfNzX4dU3hftwPD8FJ3TgnE6/iwNJAN0 qgHW8o+25BmozTv81E0gyATLq/YrdPdGrSQLD29b/4sJnU8zOwLRX1mxb6Y60rXKMs1d lE5PVswkT6PXbReDdgq8TfFynxzUC9hqs0r39wrY9jKuGBhmHcQWdppqSTk13rS2WvGh TtGes+Nozt0ks0JOZ26/rAHxM2YyTX8/3K3dxsGYKqqARIarcFzmCcS2ErKt7KOX6o9o ms8AVAgNUNXsBGoLMEk9rGgMMwmeo1n8x686d4ObWvv+xpmZnDMUJ32frLEGBARl/Zr1 FT3w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@cirrus.com header.s=PODMain02222019 header.b="n/OQ8pJd"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=cirrus.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id jz6si756850ejb.327.2020.04.20.08.47.12; Mon, 20 Apr 2020 08:47:35 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@cirrus.com header.s=PODMain02222019 header.b="n/OQ8pJd"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=cirrus.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729263AbgDTPpG (ORCPT + 99 others); Mon, 20 Apr 2020 11:45:06 -0400 Received: from mx0a-001ae601.pphosted.com ([67.231.149.25]:50250 "EHLO mx0b-001ae601.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1729028AbgDTPow (ORCPT ); Mon, 20 Apr 2020 11:44:52 -0400 Received: from pps.filterd (m0077473.ppops.net [127.0.0.1]) by mx0a-001ae601.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 03KFcDWr020255; Mon, 20 Apr 2020 10:44:46 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cirrus.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-type; s=PODMain02222019; bh=qNDX1e9cmLY8++RjUuUsNUnq+t/NLjmrrD3VfGW3Akc=; b=n/OQ8pJdNl09gVaLnIEJm0bZb29ac7pzHN3BHlI8a+ckuMZvqSgVO28zs7b1gAqx3dqK ZMTktB4XLiAhpgE+J0ExxUnUuUkmf0XvMf+nRhWeTDUqPygM72q1HRAL8B337zzgL3s4 aLkWS1slbg6uW5+uytGqDucbs92oyuD+2xQf5JV5m7Uyd2GcKHEwbc/Yan2R7PassmhG z5RGG9ZAi3xG+6mN1ZhQI3i65pOyj1rmpwgVcZYZzDVwbQQosbXc3iEqok0kr7UOK1Rh +FRO81xIwrLpoi5rGgU1VwuWmnfrJd1qsV9jrKaeTzBbsaPawrjSW2/Z95MvwIC7dHsx Ow== Authentication-Results: ppops.net; spf=fail smtp.mailfrom=ckeepax@opensource.cirrus.com Received: from ediex01.ad.cirrus.com ([87.246.76.36]) by mx0a-001ae601.pphosted.com with ESMTP id 30fxy4b9hq-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT); Mon, 20 Apr 2020 10:44:46 -0500 Received: from EDIEX01.ad.cirrus.com (198.61.84.80) by EDIEX01.ad.cirrus.com (198.61.84.80) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1591.10; Mon, 20 Apr 2020 16:44:44 +0100 Received: from ediswmail.ad.cirrus.com (198.61.86.93) by EDIEX01.ad.cirrus.com (198.61.84.80) with Microsoft SMTP Server id 15.1.1591.10 via Frontend Transport; Mon, 20 Apr 2020 16:44:44 +0100 Received: from algalon.ad.cirrus.com (algalon.ad.cirrus.com [198.90.251.122]) by ediswmail.ad.cirrus.com (Postfix) with ESMTP id 914632C6; Mon, 20 Apr 2020 15:44:44 +0000 (UTC) From: Charles Keepax To: , , , CC: , , , , Subject: [PATCH 1/4] regulator: arizona-regulator: Move binding over to dtschema Date: Mon, 20 Apr 2020 16:44:41 +0100 Message-ID: <20200420154444.12332-2-ckeepax@opensource.cirrus.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20200420154444.12332-1-ckeepax@opensource.cirrus.com> References: <20200420154444.12332-1-ckeepax@opensource.cirrus.com> MIME-Version: 1.0 Content-Type: text/plain X-Proofpoint-SPF-Result: fail X-Proofpoint-SPF-Record: v=spf1 include:spf-001ae601.pphosted.com include:spf.protection.outlook.com ip4:5.172.152.52 -all X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 mlxlogscore=999 malwarescore=0 clxscore=1015 adultscore=0 spamscore=0 priorityscore=1501 lowpriorityscore=0 suspectscore=0 mlxscore=0 phishscore=0 bulkscore=0 impostorscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2003020000 definitions=main-2004200131 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Signed-off-by: Charles Keepax --- .../bindings/regulator/arizona-regulator.txt | 18 ----------- .../devicetree/bindings/regulator/wlf,arizona.yaml | 37 ++++++++++++++++++++++ 2 files changed, 37 insertions(+), 18 deletions(-) delete mode 100644 Documentation/devicetree/bindings/regulator/arizona-regulator.txt create mode 100644 Documentation/devicetree/bindings/regulator/wlf,arizona.yaml diff --git a/Documentation/devicetree/bindings/regulator/arizona-regulator.txt b/Documentation/devicetree/bindings/regulator/arizona-regulator.txt deleted file mode 100644 index 69bf41949b01f..0000000000000 --- a/Documentation/devicetree/bindings/regulator/arizona-regulator.txt +++ /dev/null @@ -1,18 +0,0 @@ -Cirrus Logic Arizona class audio SoCs - -These devices are audio SoCs with extensive digital capabilities and a range -of analogue I/O. - -This document lists regulator specific bindings, see the primary binding -document: - For Wolfson Microelectronic Arizona codecs: ../mfd/arizona.txt - For Cirrus Logic Madera codecs: ../mfd/madera.txt - -Optional properties: - - wlf,ldoena : GPIO specifier for the GPIO controlling LDOENA - -Optional subnodes: - - ldo1 : Initial data for the LDO1 regulator, as covered in - Documentation/devicetree/bindings/regulator/regulator.txt - - micvdd : Initial data for the MICVDD regulator, as covered in - Documentation/devicetree/bindings/regulator/regulator.txt diff --git a/Documentation/devicetree/bindings/regulator/wlf,arizona.yaml b/Documentation/devicetree/bindings/regulator/wlf,arizona.yaml new file mode 100644 index 0000000000000..a0aea73bf4122 --- /dev/null +++ b/Documentation/devicetree/bindings/regulator/wlf,arizona.yaml @@ -0,0 +1,37 @@ +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/regulator/wlf,arizona.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Cirrus Logic/Wolfson Microelectronics Arizona/Madera class audio SoCs + +maintainers: + - patches@opensource.cirrus.com + +description: | + These devices are audio SoCs with extensive digital capabilities and a + range of analogue I/O. + + This document lists regulator specific bindings, see the primary binding + document. For Wolfson Microelectronic Arizona codecs ../mfd/wlf,arizona.yaml + and for Cirrus Logic Madera codecs ../mfd/madera.txt + +properties: + wlf,ldoena: + description: + GPIO specifier for the GPIO controlling LDOENA. + $ref: "/schemas/types.yaml#/definitions/phandle-array" + maxItems: 1 + + ldo1: + description: + Initial data for the LDO1 regulator. + $ref: "regulator.yaml#" + type: object + + micvdd: + description: + Initial data for the MICVDD regulator. + $ref: "regulator.yaml#" + type: object -- 2.11.0