Received: by 2002:a05:7412:2a8c:b0:e2:908c:2ebd with SMTP id u12csp1037215rdh; Mon, 25 Sep 2023 00:52:44 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFdHQqSRMVmqrVGz6LxWI1ldkRqFjX/0vWfCwUxc+7CBJpwSKl4MHGyB0dQBqb9TYAMAF2I X-Received: by 2002:a17:903:2311:b0:1c6:2502:da05 with SMTP id d17-20020a170903231100b001c62502da05mr294812plh.15.1695628364593; Mon, 25 Sep 2023 00:52:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695628364; cv=none; d=google.com; s=arc-20160816; b=hcDEAEE0q91cnuOugFxFEOQnt5mkC44Qq4tjDpeWtCYSBuGvvgkpLbLcwXW9QEvSeC l51ow2gV8OmOe0LSXXNTLF9UGZA6C9w+XMhzHFTkL/PmYixz1fuSFofJkG5Hj7Gi0f4Q qout/Q0ucFU8mTrxmkU0cBtQ5QpwzOKw5pIjJ7lMw6dCaUFOjSn5FYt2w4cyk2TRhyaW UYEap98kd1nnXUpWZD7b1As/t2HLcMwKyCCDTbj01qDzB8+2XqI7bcwXtsDYYM10kn89 Lz9aeSw0/peTxff0hFouhrFfKuOxQH+AgEwG780UlI00nRnEuYYzPOP2K4Sft+1/pM1Q DDbw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:organization:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=nwMxm2sN4HiXs49p1KlHmOTEVGUbxNqG5P/uaWx90Ew=; fh=dlWaF0ouAk38l6ZadWZzGtL4PI4M8Q/efUW65rhq1u0=; b=Nkjo7glgkM1GoF0LK0FYmYJPkqpyFWxREL+VieygcIKGu3oFxjQ3PzwEXCDKy5bya1 zNe9QJhbIuMJujjUXij7REYqS5e3l+ZSpvE8VuQX9bLGxRbkENFDWIzvATwqc1+Y+AeR qU8ufSiZkpTwXTtr3GH98w/imbKv7IJHCuBhB6T3Nh+x9K7QY3GaRsqG8ECPNcqEDFDB 6mjqLZ/vxBQCVTiM0eJZN48QHrd4UPFL+0wZgsv1ORrJVZ0vTDGnWks579a8nECkiWSv 1qV+5ztYB3wX9BEp94DFV71EY+8tsXy4aNlQZTjc1LLKunWDOK+WKdh3a1UAQPue6bht RmVQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id f5-20020a170902ce8500b001c446f12975si4704607plg.447.2023.09.25.00.52.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 25 Sep 2023 00:52:44 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 6F5A580A73FA; Mon, 25 Sep 2023 00:34:40 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231805AbjIYHei (ORCPT + 99 others); Mon, 25 Sep 2023 03:34:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58250 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231393AbjIYHeh (ORCPT ); Mon, 25 Sep 2023 03:34:37 -0400 Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.115]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 032DED3; Mon, 25 Sep 2023 00:34:30 -0700 (PDT) X-IronPort-AV: E=McAfee;i="6600,9927,10843"; a="381096807" X-IronPort-AV: E=Sophos;i="6.03,174,1694761200"; d="scan'208";a="381096807" Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 Sep 2023 00:34:13 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10843"; a="863766764" X-IronPort-AV: E=Sophos;i="6.03,174,1694761200"; d="scan'208";a="863766764" Received: from smile.fi.intel.com ([10.237.72.54]) by fmsmga002.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 Sep 2023 00:34:09 -0700 Received: from andy by smile.fi.intel.com with local (Exim 4.97-RC0) (envelope-from ) id 1qkg6Y-00000000HRL-0NDd; Mon, 25 Sep 2023 10:34:06 +0300 Date: Mon, 25 Sep 2023 10:34:05 +0300 From: Andy Shevchenko To: Duje =?utf-8?Q?Mihanovi=C4=87?= Cc: Daniel Mack , Haojian Zhuang , Robert Jarzmik , Russell King , Alan Stern , Greg Kroah-Hartman , Linus Walleij , Bartosz Golaszewski , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org, linux-gpio@vger.kernel.org Subject: Re: [PATCH RFC 4/6] ARM: pxa: Convert reset driver to GPIO descriptors Message-ID: References: <20230924-pxa-gpio-v1-0-2805b87d8894@skole.hr> <20230924-pxa-gpio-v1-4-2805b87d8894@skole.hr> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20230924-pxa-gpio-v1-4-2805b87d8894@skole.hr> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo X-Spam-Status: No, score=-3.5 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_SOFTFAIL 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 X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Mon, 25 Sep 2023 00:34:40 -0700 (PDT) On Sun, Sep 24, 2023 at 06:42:57PM +0200, Duje Mihanović wrote: > The PXA reset driver still uses the legacy GPIO interface for > configuring and asserting the reset pin. > > Convert it to use the GPIO descriptor interface. ... > + reset_gpio = gpiod_get(NULL, "reset generator", GPIOD_ASIS); > + if (IS_ERR(reset_gpio)) { > + printk(KERN_ERR "Can't request reset_gpio: %ld\n", > + PTR_ERR(reset_gpio)); pr_err() > + return PTR_ERR(reset_gpio); > } -- With Best Regards, Andy Shevchenko