Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp3555288rwi; Wed, 12 Oct 2022 03:54:19 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6nkiK//FJwAuDadmav06/vxImHyqH4uuNHUM0a4B/z+xcWlSVsFplbNPN6JRWUZCrFP2aM X-Received: by 2002:a17:90b:1c0a:b0:20a:7393:d8e9 with SMTP id oc10-20020a17090b1c0a00b0020a7393d8e9mr4356128pjb.188.1665572058771; Wed, 12 Oct 2022 03:54:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1665572058; cv=none; d=google.com; s=arc-20160816; b=uwICeU4+WtX8qDln1+QSbfA71aomhO+oq2OMQnq1EMGIwv7g9n3cC6xMtkai8hNgzx VFEPyZnNus5ZW9l4UlhQrtvIZZAiU0Ax+kGeVqalxVusAIsbOQkoQN6/APGhLHyJnE5X 5MwZqyZOYqlaPmoxdLU5VyONJlPHWnPyDR1eztfoOYieDLVkvQWEa7ce6ykz9pfUi4RX LLYH5wuIzgCKgohUfcBjOB5eMyCIEp3PoP7hBINeEf5RrnGKOreOYvXzZdUZ/X9/awvi 0PDbNurweT4UEUVzLspXCLf6L+bsYDywDAFea9oV4UCx7mB3LlEyIfnpJaRiBl6q351d Hvgg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=qu0VT1cU4p+B62cqisN42qlK73dW1LvJqZOVJmFr5q4=; b=SJ1HC8RDvsDHajGL2Vbm3kOhTmPs1bqYGlz+p5cvsEXuT52+9nfEA/yUfMyquEgN2U yfz2GSXKYq/6L71SiPQGd4vmNy/wb/EIWbHKsxeO01z3RcEodaBjHcZsWlScQC3BSn5O XHbG8kEAd5uP4IWhVc8VnOILmW17PnIWeUzfq/yj5Fu4PTryhfux1zx1Khy7DBU5j0Ua m20B6BOB3cj/mkZLZBuWaOWGkWpfIQfPKiUDkL0EtrP764+NDcAKu6RlaBMOWJkAPSJd a3zX6eXLMVVt7/xYhtaDW19GAqfiz5xBxWqP3xSXOg2Mi21jFb+yZKtibUZLsqP5+fMt PDyw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=LN7tGr68; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h7-20020a636c07000000b0043c075717a1si18196925pgc.361.2022.10.12.03.54.05; Wed, 12 Oct 2022 03:54:18 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=LN7tGr68; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229712AbiJLKa3 (ORCPT + 99 others); Wed, 12 Oct 2022 06:30:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35224 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229546AbiJLKa0 (ORCPT ); Wed, 12 Oct 2022 06:30:26 -0400 Received: from mail-wr1-x42e.google.com (mail-wr1-x42e.google.com [IPv6:2a00:1450:4864:20::42e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8EC42422F0 for ; Wed, 12 Oct 2022 03:30:23 -0700 (PDT) Received: by mail-wr1-x42e.google.com with SMTP id a3so25638353wrt.0 for ; Wed, 12 Oct 2022 03:30:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=qu0VT1cU4p+B62cqisN42qlK73dW1LvJqZOVJmFr5q4=; b=LN7tGr68c1Kko6MPfvrDbyLOBVHPl1lH3XqcwNI+js8HOzSqomXdnH0yl9rzGuutAP q/lADkCqzpdj3i/7l4inV4fIMJLQiZfuIsenLf2NvZr02beIjchyEdmQxYmgIzNfWijK iqbJ+1zKb/tm2GAOj9+suV1csz7Niip+qJBAZv9BqFnrWhY2tKg1mQDs3JYbUE9ykiGO jNWwvTjw12A9Uqyr4xvMIdtDH+ITwbsbGQ4MjdKcpXb59neyaoZl51XNQT3rV9I2StkS T5zv7oj3ZQ/F/gGgKTNMJv3dzTQAqTxI3X/re/NMR/io+lDgVZrFOZUJ5fF86Wo0i+9u 3x5w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=qu0VT1cU4p+B62cqisN42qlK73dW1LvJqZOVJmFr5q4=; b=mXLdXwjmCOhQ05r2I5RaTChToykGfIrpFZera6PYy/iXYJ1gCJys9tLhQMZTh2HD/O regiaFtjzCli21YuboZOT25iKv2LhlNt3Vru394P0hi6MWqmhVTncFpOxqvhH0xp4j3/ Ck+EsBU+xm3P+i6w9N6C4d3RG8vHIyupcrMQ82b/pAfnyjg4/ZiTHYdmx/6u4HjqyPJl Qpv0ii4ay7x2gT4zGbiUC3AqxTIilbRw6Bw4iRXsQlKqEyu6DkbvvGgVmyBSEUlzAyDx MAl7hfPltyYsTqM1Ny3o1gSdfqm5y4H1kUgpshGJyLjSg/hOyqEznKSrNeXGUmwo9/rM ClgQ== X-Gm-Message-State: ACrzQf2UlrK9uqMF2d8XY93hBmQLLF8Z4Qt7gRCHTep8juxBijSz+2mS 2YwHL4uT5icf0yHNLhdNaVBn9A== X-Received: by 2002:a05:6000:4c:b0:22e:48e0:1a0b with SMTP id k12-20020a056000004c00b0022e48e01a0bmr18204805wrx.618.1665570621954; Wed, 12 Oct 2022 03:30:21 -0700 (PDT) Received: from maple.lan (cpc141216-aztw34-2-0-cust174.18-1.cable.virginm.net. [80.7.220.175]) by smtp.gmail.com with ESMTPSA id l15-20020a05600c1d0f00b003a4efb794d7sm1417335wms.36.2022.10.12.03.30.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 12 Oct 2022 03:30:21 -0700 (PDT) Date: Wed, 12 Oct 2022 11:30:19 +0100 From: Daniel Thompson To: Dmitry Torokhov Cc: Linus Walleij , Bartosz Golaszewski , linux-kernel@vger.kernel.org, linux-mediatek@lists.infradead.org, Andy Shevchenko , linux-arm-kernel@lists.infradead.org, linux-gpio@vger.kernel.org Subject: Re: [PATCH 5/7] gpiolib: of: add a quirk for reset line for Cirrus CS42L56 codec Message-ID: References: <20221011-gpiolib-quirks-v1-0-e01d9d3e7b29@gmail.com> <20221011-gpiolib-quirks-v1-5-e01d9d3e7b29@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20221011-gpiolib-quirks-v1-5-e01d9d3e7b29@gmail.com> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=ham 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 On Tue, Oct 11, 2022 at 03:19:33PM -0700, Dmitry Torokhov wrote: > The controller is using non-standard "cirrus,gpio-nreset" name for its > reset gpio property, whereas gpiod API expects "-gpios". > Add a quirk so that gpiod API will still work on unmodified DTSes. > > Signed-off-by: Dmitry Torokhov > --- > drivers/gpio/gpiolib-of.c | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/drivers/gpio/gpiolib-of.c b/drivers/gpio/gpiolib-of.c > index 7d4193fe36e5..953d1c23950a 100644 > --- a/drivers/gpio/gpiolib-of.c > +++ b/drivers/gpio/gpiolib-of.c > @@ -407,6 +407,9 @@ static struct gpio_desc *of_find_gpio_rename(struct device_node *np, > { "wlf,ldo1ena", NULL, NULL }, /* WM8994 */ > { "wlf,ldo2ena", NULL, NULL }, /* WM8994 */ > #endif > +#if IS_ENABLED(CONFIG_SND_SOC_CS42L56) > + { "reset", "cirrus,gpio-nreset", "cirrus,cs42l56" }, > +#endif Same question as before about bindings maintainance but other than that: Reviewed-by: Daniel Thompson Daniel.