Received: by 2002:a05:6500:1b41:b0:1fb:d597:ff75 with SMTP id cz1csp163242lqb; Tue, 4 Jun 2024 08:00:46 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUOPLgagzCnYjt9whqwms2AR4wvpkxSQdD03dZgpqYEtD9kIQEcg1tu9WygnYqwXPbexlrbci2JUEfiwnBFMzAP2rgwPTivtj1R6G6Amg== X-Google-Smtp-Source: AGHT+IFq593gtJry5j7qtPSSvHEP44UaNIW4dApOJaYEp/2mXiY/HOJzfIgU476QaYxOrJpbBy7d X-Received: by 2002:a17:90b:10e:b0:2bf:ea42:d0c3 with SMTP id 98e67ed59e1d1-2c1dc57a4dbmr10884182a91.16.1717513245638; Tue, 04 Jun 2024 08:00:45 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717513245; cv=pass; d=google.com; s=arc-20160816; b=mYu13Tvp5eY6vUJ9qGpB0WF85w5WuAmXUDV+0ugzfKiz9vnjI6opFwVqXdITh/SY5K iN9IvyKsat3JabilgFTwpsaLsjoBAnWmYRRrAXv/uTVuk3hDO0WxePq//RHg7HmRPvFo V1GTnVIcfQdNVS9/G7RDZvrTUtw+9iQVq13KXwvxJ1US9IrzOfyjfXvD7JniGacjDeX8 H+7T9FJxr4sDj51KTuWteD+uh3+rEwlSAx67zXzY3RRojyuRmLunHncPNcfnoVAF7DnE xwYQvemRg0DDM84FMhhve7KH4OecTtWuOUs7jvaL7gBC5FJBDuo/Rqh5bfaTUbYBJn2Z fqbA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=iqpso63TyVAgKvmSNJ/b9bW0vqpHR9aThPBsESK8AXY=; fh=+YOZGdb1G03jJoyIth8qKNfbex+HHPKV9RThzPMzp+M=; b=uHXzVuTOgbeg30bBLJqIgyKocLfQJw+8Ru52QZ1etMtHr7Y6uH3xfoHivyJpPjwskr WQuRTCwtq3Nb64zPsYiLQEHUnGcx4WaWfuOp8a098rw8mVSS9GJw+7nwb37ITSG7EuSP J+qfzyVZMSYgwnjdN/f9O7RS3hHNdqmzytWg8pUMCW58VMb0xTZLGz4rSgt1ShlzlVS5 Plp6AkeNiSrNUlfQHHlZTxtys1Z3yea6dhiINYR9B5c1y+ugye6XZOHNVzObe8LAWzbx YxUfyCaOCUEgqeahNJq5R6owxsxCWSZJDw6WEYr0YaOGAISwEZmQPJEOnmM/3t3L734v PuKw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Q2vRQEO4; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-200906-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-200906-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id 98e67ed59e1d1-2c20a63b2d0si2329856a91.46.2024.06.04.08.00.45 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 04 Jun 2024 08:00:45 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-200906-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Q2vRQEO4; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-200906-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-200906-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id AAFE02836D5 for ; Tue, 4 Jun 2024 14:57:39 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E016013CA9A; Tue, 4 Jun 2024 14:57:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="Q2vRQEO4" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 0E974846D; Tue, 4 Jun 2024 14:57:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717513048; cv=none; b=VpqR6cNKbpevKMnqEOjb9v7q4OVYz2fJ6Je1iLxPkJV8gaOmdYq7QFV1RpVjN5GRLxuokowViYKvHinpE2Hy81zNVwIX86yI06ms/T2qs1Xjq5ppm0v7EuioqO/QFbQ6ZC96oMjG0qTgn87ur8ha1TTyacoCpHA8zSsuDL0b8Oc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717513048; c=relaxed/simple; bh=Lj9qAnLR2AFw/O7NEn03XeJc7aJX3ehILngKK6g72J0=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=t0GV8Ozrg73GPeRL/ABO3hmDDrKB4jg0/HbvKUAkRlrEvRAoT4Vh2RfZ+jrjmj3oSD93Zf8mp0Ga25kZbfBYJ6arBiBdEKUYbX6A86Kd2tPndTvYhqYgoBGCecMvjw43eHI7U0FpZska5VbiAkZ5StuHm7EWMyt0/Ozw5LApYHU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=Q2vRQEO4; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 45940C2BBFC; Tue, 4 Jun 2024 14:57:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1717513047; bh=Lj9qAnLR2AFw/O7NEn03XeJc7aJX3ehILngKK6g72J0=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Q2vRQEO4ig5t1bFS3ootCTEDZZPubmDesUBXfVVXUPvxM8HpZ18tqF8jkX5kXMD7j RhmLHYH2WscWY7s7/ud0dNDx0Frwvk5UG9YpAkgNivn3hI/iS64aZG6EZHVKehVb3+ lCTJu34AIhDOEsB6/gpT7WNJ1bHwOo30NM45/Rw62G/C0ecr+mc1es6JhJeIJM2O91 +HQncN2B5y3U2ytz0GxWcidFEkUb3Hhc3i+znzLDN1AP4xU0M5C5nskntoK8nIS477 Aa9THm8riSYSCbdCMMHfz9BxtAnWUdkH23X/G5TFIgtE63x9gBG5uHMCFejJGNZIFY uxEDklcSNX9ow== Date: Tue, 4 Jun 2024 09:57:25 -0500 From: Rob Herring To: Ricard Wanderlof Cc: Mark Brown , Liam Girdwood , Shenghao Ding , Kevin Lu , Baojun Xu , Krzysztof Kozlowski , Conor Dooley , Ricard Wanderlof , Jaroslav Kysela , Takashi Iwai , alsa-devel@alsa-project.org, linux-sound@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, kernel@axis.com Subject: Re: [PATCH 1/2] ASoC: dt-bindings: tlv320adc3xxx: Add MICBIAS-as-GPO properties Message-ID: <20240604145725.GA588460-robh@kernel.org> References: <20240529-tlv320adc3xxx-micbias-gpo-v1-0-300d39cecc55@axis.com> <20240529-tlv320adc3xxx-micbias-gpo-v1-1-300d39cecc55@axis.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240529-tlv320adc3xxx-micbias-gpo-v1-1-300d39cecc55@axis.com> yOn Wed, May 29, 2024 at 06:33:44PM +0200, Ricard Wanderlof wrote: > Add properties for configuring the MICBIAS pins as general purpose > outputs, with some limitations: The voltage on the pin when activated > may be set using another property to 2.0 V, 2.5 V or AVDD. > When deactivated the pin will float. > > Signed-off-by: Ricard Wanderlof > --- > .../devicetree/bindings/sound/ti,tlv320adc3xxx.yaml | 20 ++++++++++++++++++++ > 1 file changed, 20 insertions(+) > > diff --git a/Documentation/devicetree/bindings/sound/ti,tlv320adc3xxx.yaml b/Documentation/devicetree/bindings/sound/ti,tlv320adc3xxx.yaml > index ede14ca2c07a..4172aced1386 100644 > --- a/Documentation/devicetree/bindings/sound/ti,tlv320adc3xxx.yaml > +++ b/Documentation/devicetree/bindings/sound/ti,tlv320adc3xxx.yaml > @@ -82,6 +82,26 @@ properties: > Note that there is currently no support for reading the GPIO pins as > inputs. > > + ti,micbias1-gpo: > + type: boolean > + description: | > + When set, the MICBIAS1 pin may be controlled via the GPIO framework, > + as pin number 3 on the device. > + > + In this mode, when the pin is activated, it will be set to the voltage > + specified by the ti,micbias1-vg property. When deactivated, the pin will > + float. > + > + ti,micbias2-gpo: > + type: boolean > + description: | > + When set, the MICBIAS2 pin may be controlled via the GPIO framework, > + as pin number 4 on the device. > + > + In this mode, when the pin is activated, it will be set to the voltage > + specified by the ti,micbias1-vg property. When deactivated, the pin will > + float. Typo and sounds like a dependency between properties: dependencies: ti,micbias2-gpio: [ti,micbias2-vg] > + > ti,micbias1-vg: > $ref: /schemas/types.yaml#/definitions/uint32 > enum: > > -- > 2.30.2 >