Received: by 2002:a05:7412:2a8c:b0:e2:908c:2ebd with SMTP id u12csp3654203rdh; Thu, 28 Sep 2023 20:18:47 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHir4qOg4pvid+60X4d7iHgYkhA9PjEgRgAouh8dq2CLKijMnsuWJgwxpZKWM9wm0eMc7kf X-Received: by 2002:a05:6a20:1442:b0:15e:f2a1:dae with SMTP id a2-20020a056a20144200b0015ef2a10daemr4477113pzi.27.1695957527014; Thu, 28 Sep 2023 20:18:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695957526; cv=none; d=google.com; s=arc-20160816; b=vPw2B55i4kJLWPNKB2pAugT5z8GN8Aao+JrboXKwOgLecFmHf9uHk6qs6qHm5Gxn/m 3l00hl6jipWrBdxlbCa3iiiPYdsHw0p6niM7xDCohdNRldcVQ/4J0y2BaRj0DEFAsvBm SCKwJZijyFGasIAmJbZjDkzSuWItivFRB6JQHAFM4HgomZhwm006ED2xmc34TF9RHZzw plVKhFKzuqCBh8V0DGvlPeirsDRnvQ1G5SzbRQTA4X/XuSoBWzlm56WuTHm5XRj3oWDF q8QEIsG8q7vnDuF6OCaruYwlp0evZUSDnI+MLTJ2NP0TQf08p5OAyJ6cFmGZD2GnMMS9 FCQg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:subject :from:references:cc:to:content-language:user-agent:mime-version:date :message-id:dkim-signature; bh=0hFRSmhC1yPSbB9D3RIWwpqfVPBnoWuA9Kbk89H68FA=; fh=+J1tU8mYRS0tAzYCer2u4MwX4DmdoEjH6cAcxs8XMyc=; b=SxtEILTEuvvikKgZhq8oPYt5IXUyW0FVZS51Owh5hW0aQERr69uFjnAAP3w4W61+4p 2/gAhEflpDWTGd31qS+gPerDwg7FHz6gPpMpYeRBouLObqGyqYyuo3Lk1jh9QTeFQuvy xzI/ki+ID04OCviuMoy1QwgRk1Dy9u7Sk2g8+B2unnpSVsb3k2s4eFb2XxVbgDfwVXSS fPkO9tDjpdT76rmy+fl5FbsxP4HML95eyhUAYPBvFhUpoxuv2LtvdNotuNWgvwuXDmjf 81qZMxuZbpRWv3oC4MtA5a3KH0o+65ptJ1IKdyKC2K+PU929ZKZIcXQpEumZEa0EwPRZ OCYQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=dPR3MpKX; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [2620:137:e000::3:3]) by mx.google.com with ESMTPS id l9-20020a655609000000b0057760853706si20690503pgs.578.2023.09.28.20.18.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Sep 2023 20:18:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) client-ip=2620:137:e000::3:3; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=dPR3MpKX; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id 6AB91807EB0C; Thu, 28 Sep 2023 05:41:08 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232493AbjI1Mk6 (ORCPT + 99 others); Thu, 28 Sep 2023 08:40:58 -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-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 X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIMWL_WL_HIGH,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 lipwig.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 (lipwig.vger.email [0.0.0.0]); Thu, 28 Sep 2023 05:41:08 -0700 (PDT) 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