Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp493726yba; Thu, 16 May 2019 04:26:23 -0700 (PDT) X-Google-Smtp-Source: APXvYqxQbe1pJ8z6R7eCeGEVJL4PZQv1GuQSGdhQN82dq1J4vP5drkI/8Wxwf/oQX7PkcYNINM66 X-Received: by 2002:a63:4c06:: with SMTP id z6mr50096080pga.296.1558005983895; Thu, 16 May 2019 04:26:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1558005983; cv=none; d=google.com; s=arc-20160816; b=unzlt1G5RHP9rff8zUcy/bp0vMS9H8R/A5BhshpeWtr2f/ZiyWDpxdHrI5K20ujm9p lxURRLIo/tA6y1MbUWXJLOesruwrb61N/FT1iPmAVVZKbNaMLtJ7imdfjZhUnmgdMBhl qk5kvITftojVL1zh+doFLPWKX2yIndbuj9x6Iocx/64x9eboN3CtZit/fvIJJ6skbKZo snj5VH4RrFLSupiIGr5STiSukAVZZsPW9quL+xTNl5kvYybPr0CQLJcQYoTrkC48ZCFJ G+EPFk2zqlTA4IZ4gg7FLUIP8L75Vt3vdELFRrNdBrt49Rk7OiNMznCD4cGr33aF/96e +8jg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-id:content-language:accept-language:message-id:date :thread-index:thread-topic:subject:cc:to:from:dkim-signature; bh=o5Pmafg8pm32hRxJ/xCqaP5OyzTxAvzFiL42BtQ5F8I=; b=Bg5OmZFzmjwlgvnBTYRq7A2mPXzIhBX70l0qFGY7CIwHHHhrnJOE8OR3xPwNR2YT2T 9ky2pWNWfm3N0IjGdMrR+Z2O5Vmlve3fcE7fGW3M6xSySHNWqcQcyqN+RZETyqgbBJk8 9whv0FFkLKArwbd4ptVLlMO4xRON88hPEK6xjoWPUClCIl5WLhQzw7IKQ0FOCRgOHZ4Z Jl5YOn/ANwkMSfld17yULBTxNuY132JCamvYXIqspbNLxzzb1FF5HgPANZkDoO02Ub+v 0RNVaRHkdr8yyf8uXJd90AmjITcUcSbdEozoMlouJEkd7LBPkQEmQvkm/wSuZCBnGCjM Nxog== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=Sltg+6Ii; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s128si1448796pfs.242.2019.05.16.04.26.08; Thu, 16 May 2019 04:26:23 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=Sltg+6Ii; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727405AbfEPLYQ (ORCPT + 99 others); Thu, 16 May 2019 07:24:16 -0400 Received: from mail-eopbgr30042.outbound.protection.outlook.com ([40.107.3.42]:39235 "EHLO EUR03-AM5-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726537AbfEPLYQ (ORCPT ); Thu, 16 May 2019 07:24:16 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=o5Pmafg8pm32hRxJ/xCqaP5OyzTxAvzFiL42BtQ5F8I=; b=Sltg+6Iih30t/wMTRaOQjsMoL+TUi1LvS1Kb5sr39hgUWoSZ6mzdk+tdBeOF37Bu3S6mYrCiNp26l+X7T9ZJNr73w982PgWt0puvOQrAOL8JnykoP0kOQ1qWsT3v0hoAdn5Ft5JSpzdUCIKo11vNy8oZJb+6wV4C6DQEwZokvac= Received: from VE1PR04MB6479.eurprd04.prod.outlook.com (20.179.233.80) by VE1PR04MB6766.eurprd04.prod.outlook.com (20.179.235.219) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1900.16; Thu, 16 May 2019 11:24:12 +0000 Received: from VE1PR04MB6479.eurprd04.prod.outlook.com ([fe80::a5b5:13f5:f89c:9a30]) by VE1PR04MB6479.eurprd04.prod.outlook.com ([fe80::a5b5:13f5:f89c:9a30%7]) with mapi id 15.20.1900.010; Thu, 16 May 2019 11:24:12 +0000 From: "S.j. Wang" To: "brian.austin@cirrus.com" , "Paul.Handrigan@cirrus.com" , "lgirdwood@gmail.com" , "broonie@kernel.org" , "perex@perex.cz" , "tiwai@suse.com" , "alsa-devel@alsa-project.org" CC: "linux-kernel@vger.kernel.org" Subject: [PATCH RESEND V3] ASoC: cs42xx8: add reset-gpio in binding document Thread-Topic: [PATCH RESEND V3] ASoC: cs42xx8: add reset-gpio in binding document Thread-Index: AQHVC9njdHFVpoMQJkaGKICvqNXQ+Q== Date: Thu, 16 May 2019 11:24:12 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-mailer: git-send-email 2.21.0 x-clientproxiedby: HK0PR03CA0023.apcprd03.prod.outlook.com (2603:1096:203:2e::35) To VE1PR04MB6479.eurprd04.prod.outlook.com (2603:10a6:803:11e::16) authentication-results: spf=none (sender IP is ) smtp.mailfrom=shengjiu.wang@nxp.com; x-ms-exchange-messagesentrepresentingtype: 1 x-originating-ip: [119.31.174.66] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: ab6873ed-afa8-4ad8-01ee-08d6d9f1059b x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600141)(711020)(4605104)(4618075)(2017052603328)(7193020);SRVR:VE1PR04MB6766; x-ms-traffictypediagnostic: VE1PR04MB6766: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:5797; x-forefront-prvs: 0039C6E5C5 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(376002)(39860400002)(346002)(396003)(136003)(366004)(189003)(199004)(66066001)(2201001)(71190400001)(6486002)(305945005)(6506007)(386003)(36756003)(7736002)(5660300002)(86362001)(256004)(66946007)(99286004)(52116002)(6436002)(14444005)(476003)(486006)(66556008)(66476007)(64756008)(66446008)(2616005)(73956011)(6116002)(3846002)(478600001)(68736007)(6512007)(102836004)(2501003)(53936002)(8676002)(25786009)(8936002)(81156014)(50226002)(14454004)(81166006)(4326008)(316002)(118296001)(71200400001)(110136005)(2906002)(26005)(186003);DIR:OUT;SFP:1101;SCL:1;SRVR:VE1PR04MB6766;H:VE1PR04MB6479.eurprd04.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;MX:1;A:1; received-spf: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: OWHMZcPDtVaPFrYVdYy2dJ4RSA6rzDPyG+CnCrrUrpzy2w8IG+sGTLmYebleKSC8vJmJNyZ97GqxzfJ75IuRzyMLz/+UODAqstcCUUVlI2f7UEgvI949HtQwvnzJEuyWxNPYBJfzUYOvvGse40buYf2fhUvMV2zm4PbKXLlGonr6tLicfJr4GLu01s90d6CUIlT8k/trSfMyAovDubvIZYAfpeVtaLakkF7Ng8mzt69Y9IHG5hqSisKVcO9G9wyeV8zLapuJz5eKhJDvwiHjJ01Bu1FjlPU+1gP7a7zKVLuzAMn4SJRRlxQk9OyQ07uPvMBeNqauetTndIXn9ncKVX+UiOadchH84GHI9sGt4T07ZPRK/2G4O9cGMcFdZhli1Gotzeq0VSVgNeLA14jVmQMva/YHmcvBoe5J4u7ELmQ= Content-Type: text/plain; charset="iso-8859-1" Content-ID: Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: ab6873ed-afa8-4ad8-01ee-08d6d9f1059b X-MS-Exchange-CrossTenant-originalarrivaltime: 16 May 2019 11:24:12.8371 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-Transport-CrossTenantHeadersStamped: VE1PR04MB6766 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add reset-gpio property, which is an optional option Signed-off-by: Shengjiu Wang --- Changes in RESEND v3 - send updated binding document only Changes in v3 - update binding document. Changes in v2 - use devm_gpiod_get_optional instead of of_get_named_gpio Documentation/devicetree/bindings/sound/cs42xx8.txt | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Documentation/devicetree/bindings/sound/cs42xx8.txt b/Document= ation/devicetree/bindings/sound/cs42xx8.txt index 8619a156d038..ab8f54095269 100644 --- a/Documentation/devicetree/bindings/sound/cs42xx8.txt +++ b/Documentation/devicetree/bindings/sound/cs42xx8.txt @@ -14,6 +14,11 @@ Required properties: - VA-supply, VD-supply, VLS-supply, VLC-supply: power supplies for the d= evice, as covered in Documentation/devicetree/bindings/regulator/regulator.tx= t =20 +Optional properties: + + - reset-gpio : a GPIO spec to define which pin is connected to the chip'= s + !RESET pin + Example: =20 cs42888: codec@48 { @@ -25,4 +30,5 @@ cs42888: codec@48 { VD-supply =3D <®_audio>; VLS-supply =3D <®_audio>; VLC-supply =3D <®_audio>; + reset-gpio =3D <&pca9557_b 1 1>; }; --=20 2.21.0