Received: by 2002:a05:6358:489b:b0:bb:da1:e618 with SMTP id x27csp211273rwn; Wed, 7 Sep 2022 15:19:34 -0700 (PDT) X-Google-Smtp-Source: AA6agR6SRanAhXe+85lZpTQdUZjAxapu5J6a5jhU/1uZB624NnLu2cBx4OQbDtKl1DvJ6gUbJ0wd X-Received: by 2002:a63:d807:0:b0:434:39e4:2c12 with SMTP id b7-20020a63d807000000b0043439e42c12mr5319129pgh.618.1662589174373; Wed, 07 Sep 2022 15:19:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662589174; cv=none; d=google.com; s=arc-20160816; b=szqTkAQ0t8fBZ5T6A0ydLsIdOKZuKmDUDg+l7tUQxyahc4yybZXUjgNpn69Cpzddcn iIl7ze2JHc46eAIA1mWZbDKT0/LHXxWX2jAcZCi7exWUlFGpEbEanAB3koPPxa8U7ggb +o9IdgfOVu0LuasaKoui1ZRvcLkRe3goLYqBKQ3YgE7OnW1rsbn1Oy3gc17YboaA2IyQ D5qHkqObbV2C78lHqX5Doucqx9wjtPhMU1rYQ6QBTVwW2FbgQI3HCBqdQtthvovT6PyN kfJC6zD0ugAFa3LswGZf30NiI3EV9zjFwYybVmVSFcf8OCRQZr1QXoc476390dgx8/Qi RnpQ== 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=+/R8XTGRvXQTqvAr8XML9xdzybq9kmOE4MfJixg2MLI=; b=uou5wkEpZakvmi7nQSK666VA5DxopTphgnmwPZsFqaDfvxdxqz7TWt55Y6jcdKIh8N KngdNQ54sqG6m+mex4yoiRcSAEG22Z9TLODjrO4k1GKdHtNyFzXKzEc1UkyIFGB33/h7 vQ1gvZcYLh0zQVlWRbMRsVjJvLijri1bsw977KPYz9VYdTcQ0eeLfw4F75bdH8kCRnsw 80MkqHMFgP0Z//nF1oNkqm4WFeZbQiAEymeF8nmDlGK1V5UHh15qQ8LIX6VDzBkMPzyz DWWrQTkkVnN388ywfJ1vS8w/OXOKLBvsW0SBK3Vogh1BSP6cB2YLHgJ76Qt2jA5CwT88 eAaA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=BTcxONqs; 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 u68-20020a637947000000b0042a363886b4si5084667pgc.789.2022.09.07.15.19.22; Wed, 07 Sep 2022 15:19:34 -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=BTcxONqs; 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 S229620AbiIGVsZ (ORCPT + 99 others); Wed, 7 Sep 2022 17:48:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38150 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230337AbiIGVsX (ORCPT ); Wed, 7 Sep 2022 17:48:23 -0400 Received: from mail-ej1-x62d.google.com (mail-ej1-x62d.google.com [IPv6:2a00:1450:4864:20::62d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1B093C480A for ; Wed, 7 Sep 2022 14:48:21 -0700 (PDT) Received: by mail-ej1-x62d.google.com with SMTP id u9so33481123ejy.5 for ; Wed, 07 Sep 2022 14:48:21 -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; bh=+/R8XTGRvXQTqvAr8XML9xdzybq9kmOE4MfJixg2MLI=; b=BTcxONqs0yhXF+8dWjfiLFdOKd/xUabSvAO7NqrhEHtZGoYQ2KGmDrVRbsynKidinm JEl8FINmdPf4Tq54yiD9FWNgsAzRf4/kuC+9ExmgscTOpEqMq/PttvPNuuDyxQmt83ng SLsZ9j55agxBr/StLo4iPYaJK4rP4owe/bJT3f7m1CXVc+euPeTii0VulvZnOut4dd9j xtJLgk2j4oe8HF/WqJlR2A845oq9NsdBssjoS/ULF0Rkr4i2w/7ex4m3IIHKYKzvl9QH RTk86241OLYvGKkn1daSEwLN5wnH4IGEN13w7WyHhg5G0+D5jg7Y9mgWqHjfXi82i4Es hF7w== 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; bh=+/R8XTGRvXQTqvAr8XML9xdzybq9kmOE4MfJixg2MLI=; b=UrZ9UQiHkNifcgibBL+5isSoNRHFxFJWx97ZEHL5hVsM8RExHAeMNB/KdmfqiwX9Y7 gAFB0OydeS9tVzSzXtPOtO9sLj091bu8tKuaDkcvriEOsVIjJ5zVhggfPIjUZhtbw56p RZSehRH3YBiEgPEvXgF85Rcm9QgXRTjJuLt48Nvc2Atq7isPvofAatQBNa+/BX4UsG7y MpIF3gPuS6VGfeye9GLBEUGbvwu3M8dlpVUP3gyvXCfl7CrKitINWbvAu4qUuWwfRPuz 91xhc10CJqZtHKMgi5AfmoogBaDusUui/Pd+d0BaCOXVFg92kJX8QGzsuokGNBh3h/95 8Qog== X-Gm-Message-State: ACgBeo0nye3r7t1xW+5EKWvS5w3bdegrS10DxIL45Wos/+llWENYdqLb oRUHzmPSxaCMxDH7ZP87KTo17sq/N4HxdxH4RomHQg== X-Received: by 2002:a17:906:58c8:b0:6fe:91d5:18d2 with SMTP id e8-20020a17090658c800b006fe91d518d2mr3800336ejs.190.1662587299605; Wed, 07 Sep 2022 14:48:19 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Linus Walleij Date: Wed, 7 Sep 2022 23:48:08 +0200 Message-ID: Subject: Re: [RFC/PATCH] remoteproc/keystone: switch to using gpiod API To: Dmitry Torokhov Cc: Bjorn Andersson , Mathieu Poirier , Suman Anna , linux-remoteproc@vger.kernel.org, linux-kernel@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,T_SCC_BODY_TEXT_LINE 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 Tue, Sep 6, 2022 at 11:08 PM Dmitry Torokhov wrote: > This patch switches the driver away from legacy gpio/of_gpio API to > gpiod API, and removes use of of_get_named_gpio_flags() which I want to > make private to gpiolib. > > Note that there is a behavior change in the driver: previously the > driver did not actually request GPIO, it simply parsed GPIO number out > of device tree and poked at it. > > Signed-off-by: Dmitry Torokhov Reviewed-by: Linus Walleij Yours, Linus Walleij