From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 031AAC4332F for ; Wed, 12 Oct 2022 10:31:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=yq4sT+iTqJA6hsXaSApVSA1cR5NvndEGkh9QZ+rdrd8=; b=YAZCq51V5oolPV Mvo0dBjQyTRb6oHadlSFsBTc71nUjPVT0XIGgzfGTzmclzWPEMjgcUuLK/X7/Q7bE0vYVuWrJhH5z eDTSMEY9Hk0lxXjEtPSn3nLsdGS22dpTvYF6Coz3pn+xAVwhR+myG4oI/I8BRtBGF7+8uzPlNv/Dx bccz/JVftWQk7g5FSnKpvZwf/1dvPamVfh8m7BsKpj1z4M5eRv/YYRZIcC3dr+rFfBAdGpifjEoto bZFOzroy9tE1vUklt6QkXmUjf9NNsNSmg4hS4bZ8ItLNwZ5kWy/+HaQiOCBexHir/az/G8NnCZt6x SP7r/uX9AMJ1g8Q+0PaQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oiZ0O-007gAy-1s; Wed, 12 Oct 2022 10:30:28 +0000 Received: from mail-wr1-x42d.google.com ([2a00:1450:4864:20::42d]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oiZ0K-007g9L-OG for linux-arm-kernel@lists.infradead.org; Wed, 12 Oct 2022 10:30:26 +0000 Received: by mail-wr1-x42d.google.com with SMTP id u10so25596767wrq.2 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=4SL/pRjl/m5YlP7O3eSBpz6EQuZlUi1Ypex7lZrsXWRw5SZWN7/gyFXHKcLN9iu3ao XSYquYerbVG7XiTSdDNHbCh3ndU5kfDnJG6I9vCqryBVoRs8Jz1kW5Mu+pv/O9p+xD13 p6+Upt4AdKyX5P3VPcgkDbjuF6LNDKAYH042jPwIAg08VjR7oUY/Z/YkVzGcTNnq2VRT MoHq1sfySEcQHs1c907wp3u+imoP6H5YJJUIbSrI4b9ywlLQF9gcRqLhzzYiuPanzQxs c2tiet2ifiDPlz7PYOHB9rwfO9AW+W4dtqoF/QvW7KHwxuaAmd5lqO4M/m7FkGCKKowt l/jA== X-Gm-Message-State: ACrzQf0PGCwGVRk4iYfNWh5C7xYi7bBG82nqxjNcgox1ElH+9sO/ccii P8AEEFBIlPKw/G3Z8ufbKF3NtA== X-Google-Smtp-Source: AMsMyM6SMfhbUpOAoKh61uohQ9F30hK8tkk8XwsgcmYbLOawFsON935JP9StXGyYmnecjJF7fu2S3Q== 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-Disposition: inline In-Reply-To: <20221011-gpiolib-quirks-v1-5-e01d9d3e7b29@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221012_033025_039268_4B43A122 X-CRM114-Status: GOOD ( 17.89 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.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. _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel