Received: by 2002:a05:7412:2a8c:b0:e2:908c:2ebd with SMTP id u12csp3481174rdh; Thu, 28 Sep 2023 13:00:25 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHSX1YBStOqfqrYNMSQi7uU06Ckz58/1XToVBqcqMHXxRo/9QI7JnKZ/ZD7lX1hzV7IQFHN X-Received: by 2002:a17:903:2581:b0:1c5:c546:febf with SMTP id jb1-20020a170903258100b001c5c546febfmr1819014plb.35.1695931225107; Thu, 28 Sep 2023 13:00:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695931225; cv=none; d=google.com; s=arc-20160816; b=wThywO0o5OwYyMN+Eykz8oept2KD+SLdLIO4rxP5xIs18ZpO0F80geWvp3ZQh7Hrfg 8IGxMAJ3pVzFvTDOErcr5t+CObF/eAWnIiDo1uC8NAedpddTyNc28ipYQAAFBGR57gpF LlDjx9T+Zyf+Qae62rxDsy1urHvONw5xhMs8veiHIPZ9zuosMEqzWXHaYRIka0sSFntK 3xN8zwm/Yhegfu3y/A9cHlcRjCuLGKBtHvsL6ojXJWFqgCQiYC0as+IZswKLeh+jZLyE dQCCWuyxxZrSwQQDNzVuzwkmNQxTZSVgXzPAez0X4u092ms13qQGL8AQuwYzyZJmQVId /qRg== 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=Y95bvgZdeDdsBCYjefAKBMoB3y5noRiDCdm/BR1RHRI=; fh=Jss41qoVpaP+ntmxrjf72G3l+98+D6qWvWxfQSi4B5s=; b=TlD0y5PgWwpZx6wSlP3dWlu6cxKwCv/1wWoqeiWqMSsW+wX+iq584y03WTj3B7fMRn jVHddKB6HChSY0BpUwTpdRmrPsTIbdXHmdaANr9t/MYUN7Q2khlhrGpi8FLBVpT+DqmA kpsgxOjWCY6Nc5dHR/Fq/Ke2FVxgdLoNSOj5xBrx5cjzbA4rjYoVmUifo9JbvPD6QDr2 XgaYbf5SVrfd0EeQFovJeGoShBOeNpjFQIEsPpInB+4slI0iwWpiQTiw13FkrUXMYwYH FK8PC7TQd/MnhOGh3oCnSC89qUCjKT4EAUhzl0dtuMNvi1LpED/yGb0x169IZdXvBYCO A70Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Mob4ktd6; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 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 groat.vger.email (groat.vger.email. [23.128.96.35]) by mx.google.com with ESMTPS id n10-20020a170902d2ca00b001badbe8e441si14035786plc.106.2023.09.28.13.00.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Sep 2023 13:00:24 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) client-ip=23.128.96.35; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Mob4ktd6; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id 17DBB807C7C6; Thu, 28 Sep 2023 11:40:28 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231976AbjI1SkR (ORCPT + 99 others); Thu, 28 Sep 2023 14:40:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57272 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231877AbjI1SkQ (ORCPT ); Thu, 28 Sep 2023 14:40:16 -0400 Received: from mail-yw1-x1133.google.com (mail-yw1-x1133.google.com [IPv6:2607:f8b0:4864:20::1133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9FDB519D for ; Thu, 28 Sep 2023 11:40:13 -0700 (PDT) Received: by mail-yw1-x1133.google.com with SMTP id 00721157ae682-579de633419so163256797b3.3 for ; Thu, 28 Sep 2023 11:40:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1695926413; x=1696531213; darn=vger.kernel.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=Y95bvgZdeDdsBCYjefAKBMoB3y5noRiDCdm/BR1RHRI=; b=Mob4ktd6wbefj94n8LkbOhnCvmoDCr5GPkP0WgJOT4hvo9/TeLRZVvrJNs35SStDju v3dZe8eaM/ivmH8tdXMe6Z9+ZW+D3R8BLJKEkvwC19EiLObAB5I5gnMGkT3F/DjAKmkb Pvc3GxH+7pH62gsbJytqPkEFoZ8hzED5M//9Jpl0bd4Sn56Fgsi4yGyR+a1Yu9t4z/LI tyH776cJrwh0upKmExPJeftwLoSeDisSuuBuvSDdlOYB/WiehlulH9AhXfoGa2fQ1a7V PwkWYbGJdWE1ZakIdG4j6Y2vyws0ap3YpxSikKClWuNAB10wOfMjG4x8fGS7qmp+LXYa z+hw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695926413; x=1696531213; 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=Y95bvgZdeDdsBCYjefAKBMoB3y5noRiDCdm/BR1RHRI=; b=AKQjlngOMC2wwD0Q4yzgsJPWAgy70+8VXb20B2ycfwLkF6ICw3S2Oj/p1w5kQtSphg tgcRePSHCfl4PF/viqGSmcnJgxZJWbapQp3aRCjCoZnTuJ6V+sCHX87SI82syQFONtch uJtNvuLsT9+9IxHK+pr5uSbPnTKlUppCQsOB3AgG4XyYyO9N6GSIpk6jRN6H+hpt6ysq lZH/qvKJ6u7k8VR0pM56oY1P5EAxyAxu9V/DLhJARO9HD0xflvOpzYr6gsaOBZRtuSta uKt7ZoG0Zn3+iupUubHgoYKkNDmGzU1x9VR7f4i13+I3KcDwfGe8g8URPZLo+en6NVwl haXA== X-Gm-Message-State: AOJu0YwNUJ9GpbdyVHr9ng4MxJ6yoqoeeFG2rCQeg1L1lGSPqs9MYtsb gxT7ZGxk2l4sI8PIemHVMu9z8y2VA9UGX8BWgy+MGg== X-Received: by 2002:a0d:d410:0:b0:59b:c847:bce0 with SMTP id w16-20020a0dd410000000b0059bc847bce0mr2110790ywd.42.1695926412719; Thu, 28 Sep 2023 11:40:12 -0700 (PDT) MIME-Version: 1.0 References: <20230926145943.42814-1-brgl@bgdev.pl> In-Reply-To: From: Bartosz Golaszewski Date: Thu, 28 Sep 2023 20:40:01 +0200 Message-ID: Subject: Re: [PATCH v2 0/5] platform/x86: int3472: don't use gpiod_toggle_active_low() To: Hans de Goede Cc: Bartosz Golaszewski , Mika Westerberg , Andy Shevchenko , Linus Walleij , Daniel Scally , Mark Gross , linux-gpio@vger.kernel.org, linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org, platform-driver-x86@vger.kernel.org Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, 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 groat.vger.email 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 (groat.vger.email [0.0.0.0]); Thu, 28 Sep 2023 11:40:28 -0700 (PDT) On Thu, 28 Sept 2023 at 14:40, Hans de Goede wrote: > > Hi All, > > Here is a v2 of Bartosz' "don't use gpiod_toggle_active_low()" series. > > New in v2: > - Rework to deal with ACPI path vs gpiod_lookup.key differences: > acpi_get_handle(path) -> acpi_fetch_acpi_dev(handle) -> acpi_dev_name(adev) > > Regards, > > Hans > > > Bartosz Golaszewski (2): > platform/x86: int3472: Add new > skl_int3472_gpiod_get_from_temp_lookup() helper > gpio: acpi: remove acpi_get_and_request_gpiod() > > Hans de Goede (3): > platform/x86: int3472: Add new skl_int3472_fill_gpiod_lookup() helper > platform/x86: int3472: Stop using gpiod_toggle_active_low() > platform/x86: int3472: Switch to devm_get_gpiod() > > drivers/gpio/gpiolib-acpi.c | 28 ----- > .../x86/intel/int3472/clk_and_regulator.c | 54 ++-------- > drivers/platform/x86/intel/int3472/common.h | 7 +- > drivers/platform/x86/intel/int3472/discrete.c | 101 ++++++++++++++---- > drivers/platform/x86/intel/int3472/led.c | 24 +---- > include/linux/gpio/consumer.h | 8 -- > 6 files changed, 93 insertions(+), 129 deletions(-) > > -- > 2.41.0 > Thanks Hans, this looks good to me. I'd let it sit on the list for a week. After that, do you want to take patches 1-4 and provide me with another tag? Bart