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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 29B89E732C5 for ; Thu, 28 Sep 2023 12:41:00 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232513AbjI1Mk7 (ORCPT ); Thu, 28 Sep 2023 08:40:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48092 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232462AbjI1Mk4 (ORCPT ); Thu, 28 Sep 2023 08:40:56 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E9C23180 for ; Thu, 28 Sep 2023 05:40:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1695904809; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=0hFRSmhC1yPSbB9D3RIWwpqfVPBnoWuA9Kbk89H68FA=; b=dPR3MpKXYU2jh/XHlITpGolXpvOp7nMNlFvC4Gbs5DkJ1MADet4vM+Svi80JCleiex2kqb t1bb5QswJ8C5NDJMj3+o/wWgvRbeOYI46D76g3yPc1FtZY2tYMIU/4/S2iyLE3+IODE67e lDrlbVX60402T2R6V5xe2GSfvx8UqCM= Received: from mail-ej1-f70.google.com (mail-ej1-f70.google.com [209.85.218.70]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-536-RF_pUnaqO8GJwQZDBOAVCw-1; Thu, 28 Sep 2023 08:40:07 -0400 X-MC-Unique: RF_pUnaqO8GJwQZDBOAVCw-1 Received: by mail-ej1-f70.google.com with SMTP id a640c23a62f3a-99388334de6so1124098166b.0 for ; Thu, 28 Sep 2023 05:40:07 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695904806; x=1696509606; h=content-transfer-encoding:in-reply-to:subject:from:references:cc:to :content-language:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=0hFRSmhC1yPSbB9D3RIWwpqfVPBnoWuA9Kbk89H68FA=; b=WKaf1vUoFEwGF9Vk9Pwm1lA9V9ZzEMPDAhJNFsfoHPiiraWRx96WH+WHPopmyePa8q 9Q9+O8SZFDVB51Bpcvzk5dgfNaeKTGB+ZwR/KzSQp9cI7VT7OWhRXFaKTblrfmdXACyT B3FutEv8RmaIXAlXMK9obWNcObkEMAcUi9pCeIpFTCt3CN6YaFGCoJ9rooUtWKfLJpof 5RapZ097j5244Nxuf6syKDXBZhR3byKX/txI2rs5Ki43Ha68qj3EqAEHEykR/rKKww+9 3OyJT6HBGiRbxGwismjNw2mhDeXDiavKTR0FmiiN7Dcy8HmSVBKsMKAjZcBN4fM36dJO mEkg== X-Gm-Message-State: AOJu0YxTwoBXAmy+wzdTOa5aj2K953QXKL/eQmqVZwgVqEFSlM3Ml7uW vIrOKQu4N3DBwyi12lpMjySRx/ih1zN7pw55rhZHG2CnX1LM4lL9p7HT0A8S89bYi1be1g0E2BD YJIMhPfxFJuGhkazNm34seG4O X-Received: by 2002:a17:907:7712:b0:9ae:82b4:e309 with SMTP id kw18-20020a170907771200b009ae82b4e309mr1192192ejc.0.1695904806729; Thu, 28 Sep 2023 05:40:06 -0700 (PDT) X-Google-Smtp-Source: AGHT+IF7O5uFQTyzH0jhxnRyyPH5q1RHCxAi7qglSAjZirKqTUvUvzw5yk0NoQa8J3TDppGiJS+YHQ== X-Received: by 2002:a17:907:7712:b0:9ae:82b4:e309 with SMTP id kw18-20020a170907771200b009ae82b4e309mr1192176ejc.0.1695904806392; Thu, 28 Sep 2023 05:40:06 -0700 (PDT) Received: from [192.168.1.217] ([109.36.138.103]) by smtp.gmail.com with ESMTPSA id e8-20020a170906374800b0099cf840527csm10843051ejc.153.2023.09.28.05.40.04 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 28 Sep 2023 05:40:05 -0700 (PDT) Message-ID: Date: Thu, 28 Sep 2023 14:40:03 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 Content-Language: en-US To: Bartosz Golaszewski , Mika Westerberg , Andy Shevchenko , Linus Walleij , Daniel Scally , Mark Gross Cc: linux-gpio@vger.kernel.org, linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org, platform-driver-x86@vger.kernel.org, Bartosz Golaszewski References: <20230926145943.42814-1-brgl@bgdev.pl> From: Hans de Goede Subject: [PATCH v2 0/5] platform/x86: int3472: don't use gpiod_toggle_active_low() In-Reply-To: <20230926145943.42814-1-brgl@bgdev.pl> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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