Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp4212266rwi; Mon, 17 Oct 2022 03:12:07 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7QGvSGzDoc1LlF8okqVIFdFuVbCAjhwhNxuqsqi4xNtwurhtifrivaIR47tMfIvhJr4vMH X-Received: by 2002:a17:906:2f87:b0:78a:c0d5:d019 with SMTP id w7-20020a1709062f8700b0078ac0d5d019mr8084897eji.158.1666001527259; Mon, 17 Oct 2022 03:12:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666001527; cv=none; d=google.com; s=arc-20160816; b=KI5Qa02uPKzkSq0CZOlGSg04EqPN/ruFuMDKU8d7cBVyNeyE90r4PVyEEd/Fegm8I0 BDhJcbA990vdLRVap6fYYLRD2YUJ2vNTqZ57FaGBPJmRVv2hcML9yCbNkzlslH5vG0lA 5wg0TxxjxfAl8SUwjMIlg3PgFfwRK4wVNhONFWbpSKMLo2xGvdbEqDFMMv8WGvUqrvuW pmlDPDyuooUoHJytavw6SSayJKHpEcDAafkHDntb6jKN2lKqwpdYzIdON97/NYMDCox5 yOhm7mLSiQv8PSAwJGSuYwd/E2XHxUxfZQMJPGLeavmvGmPLFmsOEF/9Y5i/ffpayKSp qPCQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=XYlNpP2yjuaN1s/0GSGSvR/4nmMU/j9YNQNQQpMCen0=; b=zdn30Mbkpu/4vFv+Wr9y7BVkMyLECtRY8bSiwahcwSzv1pwwpwzVYlpf0ws4VE9eQx Dj7MQmlGCIoXAsEuY6YpuIRngu2TQ7GvUlsfB2spl7GXlQi3/RDcsaxHGyIjTOHkEdeD rxJLb8MGjT+W32c3vg3l3hTzL5M0lROIJ0nBIb7P2XPPNYYDNC6SDL0D5y+lo4BEynSq fiXQpvY5dy8H1KeVEKjzSePYM+nHpW6gbWD3zLzhstrHxsKBsGmuOuHjQTRFWaHlYLoi yWSxp2axU1ywwDsJn6qWWYhjtNthAzd3BYXWalUeZWEHo0q+V7PyIWjC69xqk7p+e7V0 AtPw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=oZoKJjjf; 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 hg7-20020a1709072cc700b0078a891e407dsi7962510ejc.974.2022.10.17.03.11.40; Mon, 17 Oct 2022 03:12:07 -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=oZoKJjjf; 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 S230272AbiJQKJV (ORCPT + 99 others); Mon, 17 Oct 2022 06:09:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36700 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230445AbiJQKJR (ORCPT ); Mon, 17 Oct 2022 06:09:17 -0400 Received: from mail-ej1-x631.google.com (mail-ej1-x631.google.com [IPv6:2a00:1450:4864:20::631]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 130615F9B2 for ; Mon, 17 Oct 2022 03:09:13 -0700 (PDT) Received: by mail-ej1-x631.google.com with SMTP id 13so23761408ejn.3 for ; Mon, 17 Oct 2022 03:09:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=XYlNpP2yjuaN1s/0GSGSvR/4nmMU/j9YNQNQQpMCen0=; b=oZoKJjjfO5FspRdoxdL2uANtPdoBw5drTem2Nu0XKEMpfDUzx0TroI3BQseDtZqp8p SON8Fkilm37wNDTCjWqMfHGh31X6cAi74/akiK9gyONpvbNfDr/EcBDYcimuxdigJJw8 T6DxD49qhUqF05JfiXcRjbebsZ1+hZXCksJ6f6csULxBwXrTQvFqwsSgWogk++IBYi7b zmd4WEGga8QGXTyyv51XlQOVxBZHK/5SXSYu+3VLOMulfq6yLYMgnxi4ezzaJprIDeL5 /a+xgzykxz2/CX0AVAZqsAqPno9T4Fykg8UC4qqyYQ6czZ7iOPirVaGmIUlA4i2Vcna2 BbQg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=XYlNpP2yjuaN1s/0GSGSvR/4nmMU/j9YNQNQQpMCen0=; b=fMujHHoMEcKAWHsTP56mSGIhyHmFqpaBvj4itqCsUW4nlt1iXXmjOcXXdQx+pDXkEV p6U3gKsjFZWaukU0O9vbVrovgvtJKb5WjH+V5VEv5j8scKd7PkXzgAHhwpnIi6qJb4G2 56Q4q96WB7D1kz05rrtihZRf9H8SgltD8U4B5RZtA+ow6kaWFJj5mD9nLJvZgMhDWl3G DsCyZes30LJ9V1VcOV+xovkrdjkYUYETenvID6qN5JH4VpKMRZCC9EgtFSUTBiso8srr /OtsfQw98jCBIFOlubfAJ7lpJJLnZXUZ79bsxKZguGd7iOnSPUYF0BbhgA9fXqDnWrwN 7geg== X-Gm-Message-State: ACrzQf2dPHK3vLOhmgHMk1T7cQaYs/sxfeqPBPbjRjhY3pkijlBci8A+ jGaw6MgFsLIgyw0cvDYjZHXBuXFvq29wdVTIe7i3YasTxpvsDQ== X-Received: by 2002:a17:907:a06b:b0:78d:d25f:b726 with SMTP id ia11-20020a170907a06b00b0078dd25fb726mr8058069ejc.203.1666001352390; Mon, 17 Oct 2022 03:09:12 -0700 (PDT) MIME-Version: 1.0 References: <20221011-gpiolib-quirks-v2-0-73cb7176fd94@gmail.com> In-Reply-To: <20221011-gpiolib-quirks-v2-0-73cb7176fd94@gmail.com> From: Linus Walleij Date: Mon, 17 Oct 2022 12:09:01 +0200 Message-ID: Subject: Re: [PATCH v2 0/9] gpiolib: more quirks to handle legacy names To: Dmitry Torokhov Cc: Bartosz Golaszewski , linux-mediatek@lists.infradead.org, linux-arm-kernel@lists.infradead.org, Alexander Stein , linux-kernel@vger.kernel.org, Daniel Thompson , Andy Shevchenko , linux-gpio@vger.kernel.org Content-Type: text/plain; charset="UTF-8" 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=unavailable 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 Fri, Oct 14, 2022 at 7:54 PM Dmitry Torokhov wrote: > In preparation to converting several drivers to gpiod API, and to keep > existing DTS working, this series adds additional quirks to locate > gpio lines with legacy names. > > Additionally the quirk handling has been reworked (once again) to pull > all simple renames (ones that do not involve change of indices or other > complex manipulations) into a single quirk with a table containing > transformations. This should make adding new quirks easier. > When using legacy names gpiolib will emit a message to nudge users to > update DTSes (when possible). > > Note that the last patch requires the following change from the OF tree: > > 88269151be67 ("of: base: make of_device_compatible_match() accept const device node") > > The change is also available in mainline - it has been merged in 6.1 > merge window. The series: Reviewed-by: Linus Walleij Yours. Linus Walleij