Received: by 2002:a05:7412:3784:b0:e2:908c:2ebd with SMTP id jk4csp1540647rdb; Mon, 2 Oct 2023 12:48:51 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFl3HDEacqrN1ab5nts0txln65fLYnA+n4IRaSWjOMQjkxlEnvVTvHaofgSWLsmy8LqbiY3 X-Received: by 2002:a05:6a00:999:b0:68e:351b:15b8 with SMTP id u25-20020a056a00099900b0068e351b15b8mr11401064pfg.12.1696276131159; Mon, 02 Oct 2023 12:48:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696276131; cv=none; d=google.com; s=arc-20160816; b=QEjoJT0e1W049XtUVgYfTS2qyWX9S2L/5DHNG4XeUjFXvfJHKEHMdmoDrSId4U3AOI B+7PsFf460kx2OxpRBkGpn3BkGuMxYasl+EC1eVKzYqvPg4vl77YeYtKZyNrWJgjg+ea v9wxwUI5HX8EQfOeUCKqVvmxqAzY+BDMUFD8tLRdXk17XF0ZLC6GD2b+/wwOgtzQ+xGP IoDnZDP4fp2R+9GRDu+qXEN1+oEelwFZD8EDmFLP7Vj+w1JhDzKHxIVAfU0mSCWpZYWi mlZPhKT3/9VfRH3Crf8Eq1u3u93uSuDCG248GbQd9fR/23w1Cm5p5Ew/3wj5Blaupg3C EHZw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:subject:date:from :dkim-signature; bh=OHDvd7zBG9q3cQ18ekHgB5reLeuG+/B7KcSObggrkM4=; fh=B7X/F/MaptIqWOHdsySuWt+MIGGygkZRRRvHfdWP4Ww=; b=FGWgKgVSKeam28olOLIrAp47xrCOR+HxXpdeLWvcar1NnRhAAlCA5gtG3eZTlUZa94 budX7aHuBlnMK7sRxHfeya+m31PBSfswqTQHNWW4WADaHuIjLEHkOVgGdn3X43W8UHME GNj0bhtpJd+HnEg33rt8ViLreTSOk6wa+6Ojme+kpxadmO5ibUJAGNc8kg4A/WIzwNIi rkseil9BIZOFFzDrRrG8gH7t43M+h0ktyYSSmDeaF5Gp5Cm63J+quYL40iGmdua55njg rfbvJc1mebpcFEVtRshtPclbZ9sgf+i1ENbO9cZOcgyzbeAW/Mx90Uo7RN8PBRjgz9wp /SWw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@fairphone.com header.s=fair header.b=nufDdYmB; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=fairphone.com Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [2620:137:e000::3:3]) by mx.google.com with ESMTPS id a73-20020a63904c000000b005859c255ce9si8784168pge.861.2023.10.02.12.48.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 Oct 2023 12:48:51 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) client-ip=2620:137:e000::3:3; Authentication-Results: mx.google.com; dkim=pass header.i=@fairphone.com header.s=fair header.b=nufDdYmB; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=fairphone.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id 6FCD180A974C; Mon, 2 Oct 2023 07:00:39 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237623AbjJBOAV (ORCPT + 99 others); Mon, 2 Oct 2023 10:00:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56732 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237605AbjJBOAU (ORCPT ); Mon, 2 Oct 2023 10:00:20 -0400 Received: from mail-ed1-x532.google.com (mail-ed1-x532.google.com [IPv6:2a00:1450:4864:20::532]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DBF77B4 for ; Mon, 2 Oct 2023 07:00:16 -0700 (PDT) Received: by mail-ed1-x532.google.com with SMTP id 4fb4d7f45d1cf-523100882f2so21664307a12.2 for ; Mon, 02 Oct 2023 07:00:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fairphone.com; s=fair; t=1696255215; x=1696860015; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=OHDvd7zBG9q3cQ18ekHgB5reLeuG+/B7KcSObggrkM4=; b=nufDdYmBcWVroR8Q1DIf+YtKnVhhivgaFyIXPqBmmbLkoDP8CGq5roitSrUYuM0OUQ XAGuCTmhjRPNE/1h4csUuMi6TRfgNxoGH/55wMFEezucepiDKNE00Kc89X4uX+qt4cnG hTlXZBAAfOIiJdkweZTKvoQlX8i7EqJibI9IzvnHjxyWZm0047SDBGtE5hp/iQhFPBxL MnPYJRvfdu+MQMLiZRrb3/IGxT0gEv9hDBuDjDBQLdCu+Qm04cMNbiE+1qV/iOs+30HQ LoqLNqDaGcgYfSSlEK4kTW5svnhBemJBpU7tDWKBwB4sEt2bpNH0QRxrdpQ8lHqqPuMT rqdQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696255215; x=1696860015; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=OHDvd7zBG9q3cQ18ekHgB5reLeuG+/B7KcSObggrkM4=; b=WsEo+xA5MF+F6LFF58OCk373bHiaSUVj5hceyDc+suinYZ6Med7rkMPAltIzE81U+E ysH7kqerCPKmro+szV39pv3mSX4WMEoAu+19gyHLj+clgDJs9mM5ovjB+35uZbqK6mvR hb9iXpPnuOyRKPfupT5Fv8mlrrXTAizvPPGRnoQ+My3VCMNqYOJmrVFOMk7U5qMzc2cm HosOGmVxVASJvtKenC9Vjxe2OfDtq8QR645rsQIASDMW9UNPfPM9h9w36et7uMjYbBfB qODV/57asEp9n6Zyu3ELms5WO9X9PD6djx+bi+bz1i+24UFBwMdE5J+0gDkMjt+yq0Xf lGyg== X-Gm-Message-State: AOJu0YwsFTJFCKjuFDnTP6itf715JEwF1wmHG3lygfhHZ2eUOPTDXLJD tcVVapU1zHme7yEUl3j/ikMxsQ== X-Received: by 2002:a05:6402:160b:b0:531:3e89:1bef with SMTP id f11-20020a056402160b00b005313e891befmr10451516edv.32.1696255215247; Mon, 02 Oct 2023 07:00:15 -0700 (PDT) Received: from otso.luca.vpn.lucaweiss.eu (144-178-202-138.static.ef-service.nl. [144.178.202.138]) by smtp.gmail.com with ESMTPSA id q13-20020a056402518d00b005346925a474sm9350377edd.43.2023.10.02.07.00.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 Oct 2023 07:00:14 -0700 (PDT) From: Luca Weiss Date: Mon, 02 Oct 2023 16:00:11 +0200 Subject: [PATCH v2 1/2] ASoC: dt-bindings: awinic,aw88395: Remove reset-gpios from AW88261 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20231002-aw88261-reset-v2-1-837cb1e7b95c@fairphone.com> References: <20231002-aw88261-reset-v2-0-837cb1e7b95c@fairphone.com> In-Reply-To: <20231002-aw88261-reset-v2-0-837cb1e7b95c@fairphone.com> To: Weidong Wang , Liam Girdwood , Mark Brown , Jaroslav Kysela , Takashi Iwai , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: ~postmarketos/upstreaming@lists.sr.ht, phone-devel@vger.kernel.org, alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Luca Weiss X-Mailer: b4 0.12.3 X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Mon, 02 Oct 2023 07:00:39 -0700 (PDT) The AW88261 chip doesn't have a reset GPIO, so disallow providing reset-gpios. At the same time also don't keep reset-gpios required for AW88395. This is both because the Linux driver has it optional, and it also simplifies the bindings by not introducing another conditional. Signed-off-by: Luca Weiss --- .../devicetree/bindings/sound/awinic,aw88395.yaml | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/Documentation/devicetree/bindings/sound/awinic,aw88395.yaml b/Documentation/devicetree/bindings/sound/awinic,aw88395.yaml index b977d3de87cb..5d5ebc72b721 100644 --- a/Documentation/devicetree/bindings/sound/awinic,aw88395.yaml +++ b/Documentation/devicetree/bindings/sound/awinic,aw88395.yaml @@ -14,9 +14,6 @@ description: digital Smart K audio amplifier with an integrated 10.25V smart boost convert. -allOf: - - $ref: dai-common.yaml# - properties: compatible: enum: @@ -49,9 +46,20 @@ required: - compatible - reg - '#sound-dai-cells' - - reset-gpios - awinic,audio-channel +allOf: + - $ref: dai-common.yaml# + - if: + properties: + compatible: + contains: + enum: + - awinic,aw88261 + then: + properties: + reset-gpios: false + unevaluatedProperties: false examples: -- 2.42.0