Received: by 2002:ab2:3b09:0:b0:1ed:14ea:9113 with SMTP id b9csp180164lqc; Thu, 29 Feb 2024 14:05:08 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWY0C0+SvAs6eiZi7jjHtDgjRPooZrtitf3wf+4ETAL8nTVXlBztAWVEnd2MG7HkCKvQCOgfT0M30ykW4ttiZ4f3jVtr4SFb60bzbxsVg== X-Google-Smtp-Source: AGHT+IFQgg+SYafTjNQ5ZIaAtNx+iPwTKfzAInXhW9v9w6y1V/UEXU1pgUuxNRAdXxuzujymQ94o X-Received: by 2002:a17:90a:6c82:b0:299:75aa:8940 with SMTP id y2-20020a17090a6c8200b0029975aa8940mr390994pjj.26.1709244308562; Thu, 29 Feb 2024 14:05:08 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709244308; cv=pass; d=google.com; s=arc-20160816; b=gfNfFC/4A9vLnR4eTPXNgp2xChTv1hhvufaPCZ5OY8PaFa/l9OcqO9zXzbuv6PkhoM BDcORlxil+f+h3TussIE535ztuBakaC4deqwp7TRcpJ+08vq8jVQ/K8LfzZqJqBq2dU0 Tk0Dyi6oXq2O8Sa8itWYEErxFniUY0sVBZyD/UQOFOIlEII06W4ioCnbA5J8R1OVRRjn 8/t55LYyQBTqC7Z1FlPSlN2oRcDYsK3Qul/K2k8+FHVn1VnyO30i9oxvRrx16e/a1np6 GsVjGLQ1M4H73ttMS0YlAY1+n0q58KVcVAEiA8dMSHXwKbFMCRBrY5x2W3lYy30s8aIE 1qDw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :content-transfer-encoding:content-id:content-language :accept-language:in-reply-to:references:message-id:date:thread-index :thread-topic:subject:cc:to:from:dkim-signature; bh=vB/QdaRW26QrKqvq80OzeVkAdTNRDXW8s0pqpZhXHKo=; fh=Rfyz/Xy/SYVvGRdr5d9hFJQ7PRYqiwxyJ02IejlBfVY=; b=KQjnREabEAzsUL5kxSoUcNnBLf4pg4N3b3qzgmJtubPst5qDJEBceb/zfpBljrLI6e MKc03X5NM5I8wipYcox4XSYvvOQHHndidyhOb4F4VY5897HWueWcfq4JHkUw7C6q7P3L f0WIb8B+t5jX1jlepl6KrA1gK9U8aZPl3bJOSpuyUKJlLZnHWaDEejrXGFgnyHIl+mZw viL0OWSIrRC82tua78iUPAHF4sZUKzXWKToB4QJQO9acNSLwOpgbk1hZjxJ1eD3fJV7X wGBr4s4hm/S39KNVQloQD3+HpFDEVBeAsbFYZIOX56I6U5Jl+uEz8PG/jUOLJ8NRCS8v 1h5Q==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@alliedtelesis.co.nz header.s=mail181024 header.b=qWlaX29r; arc=pass (i=1 spf=pass spfdomain=alliedtelesis.co.nz dkim=pass dkdomain=alliedtelesis.co.nz dmarc=pass fromdomain=alliedtelesis.co.nz); spf=pass (google.com: domain of linux-kernel+bounces-85675-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-85675-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=REJECT dis=NONE) header.from=alliedtelesis.co.nz Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id ta12-20020a17090b4ecc00b0029aea4b87d5si2388362pjb.38.2024.02.29.14.05.07 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 29 Feb 2024 14:05:08 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-85675-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@alliedtelesis.co.nz header.s=mail181024 header.b=qWlaX29r; arc=pass (i=1 spf=pass spfdomain=alliedtelesis.co.nz dkim=pass dkdomain=alliedtelesis.co.nz dmarc=pass fromdomain=alliedtelesis.co.nz); spf=pass (google.com: domain of linux-kernel+bounces-85675-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-85675-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=REJECT dis=NONE) header.from=alliedtelesis.co.nz Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 1A310B23E93 for ; Wed, 28 Feb 2024 20:23:27 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0758B79B68; Wed, 28 Feb 2024 20:23:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=alliedtelesis.co.nz header.i=@alliedtelesis.co.nz header.b="qWlaX29r" Received: from gate2.alliedtelesis.co.nz (gate2.alliedtelesis.co.nz [202.36.163.20]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 0005B79B7A for ; Wed, 28 Feb 2024 20:23:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=202.36.163.20 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709151796; cv=none; b=WbNUU7fn16qzjoi75spO2+5Ghxxx7UE6MQu/cIjjGYOWlWxbirh9mKRy6pTF64kEqV8H0R4f2DPlePQ5QdLUjj3blTU0rlW1DVbvjRL0NxqO+DnFlY95OaQGBFz6BXReG0ssjI0rfq4vOtr0W6L5sB0qOR1qYIJrW9c4A4e9KaQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709151796; c=relaxed/simple; bh=vB/QdaRW26QrKqvq80OzeVkAdTNRDXW8s0pqpZhXHKo=; h=From:To:CC:Subject:Date:Message-ID:References:In-Reply-To: Content-Type:MIME-Version; b=TlQTBoesSi77lQGJD2RObWmHuaWeM0kZNMnOLOgXaAllYr+p7gt8uWVrg/42gAA2A+WbgDnXReX9jpd2wVzZnbo9CVlBr3w43xvimvb2UwIiOH/1sgRWDE6inu80Yc6uVBGHLD3IhRZSm1e8ApFqU030wQy+2WuHthluHl7cMRI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=alliedtelesis.co.nz; spf=pass smtp.mailfrom=alliedtelesis.co.nz; dkim=pass (2048-bit key) header.d=alliedtelesis.co.nz header.i=@alliedtelesis.co.nz header.b=qWlaX29r; arc=none smtp.client-ip=202.36.163.20 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=alliedtelesis.co.nz Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=alliedtelesis.co.nz Received: from svr-chch-seg1.atlnz.lc (mmarshal3.atlnz.lc [10.32.18.43]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by gate2.alliedtelesis.co.nz (Postfix) with ESMTPS id 23EC52C0F60; Thu, 29 Feb 2024 09:23:11 +1300 (NZDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alliedtelesis.co.nz; s=mail181024; t=1709151791; bh=vB/QdaRW26QrKqvq80OzeVkAdTNRDXW8s0pqpZhXHKo=; h=From:To:CC:Subject:Date:References:In-Reply-To:From; b=qWlaX29r7okd9YzQezVoaQmKX//Yv/AN/oVLpKCmKpbfpNvVYANvXJ+3gVNykeLgD M3QoDcFlyBlieYqzOqq/ysBS+ppiNcTa1HVQrQ9d71uF4zqmI6YwUQQjTBlvoqMUnD xSr3ivdd3pFc0RKmRd2iD7NJuHrkm0vYS3ibqE8rd3hNy0yaNzpOgk94GtlfsrwE1+ Jr3BEQq73LqpDc9kYbNgBS1fj3w6+VCfWYK44LbN3sdjbg7YUe26mfpAEr8pvJLTIw 7w1WFUCJNoDZkUPmf1N/ekiiO+9MY5MOCG4j/sdp7YNCulsnC7TbTNdBhdj7NK/SsA nBdBq1NA/9qJw== Received: from svr-chch-ex2.atlnz.lc (Not Verified[2001:df5:b000:bc8::76]) by svr-chch-seg1.atlnz.lc with Trustwave SEG (v8,2,6,11305) id ; Thu, 29 Feb 2024 09:23:11 +1300 Received: from svr-chch-ex1.atlnz.lc (2001:df5:b000:bc8::77) by svr-chch-ex2.atlnz.lc (2001:df5:b000:bc8:f753:6de:11c0:a008) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.2.1118.40; Thu, 29 Feb 2024 09:23:10 +1300 Received: from svr-chch-ex2.atlnz.lc (2001:df5:b000:bc8::76) by svr-chch-ex1.atlnz.lc (2001:df5:b000:bc8::77) with Microsoft SMTP Server (TLS) id 15.0.1497.48; Thu, 29 Feb 2024 09:23:10 +1300 Received: from svr-chch-ex2.atlnz.lc ([fe80::a9eb:c9b7:8b52:9567]) by svr-chch-ex2.atlnz.lc ([fe80::a9eb:c9b7:8b52:9567%15]) with mapi id 15.02.1118.040; Thu, 29 Feb 2024 09:23:10 +1300 From: Chris Packham To: Andy Shevchenko , Bartosz Golaszewski , "linux-gpio@vger.kernel.org" , "linux-acpi@vger.kernel.org" , "linux-kernel@vger.kernel.org" CC: Mika Westerberg , Linus Walleij , Bartosz Golaszewski Subject: Re: [PATCH v1 1/2] gpiolib-of: Make of_gpio_get_count() take firmware node as a parameter Thread-Topic: [PATCH v1 1/2] gpiolib-of: Make of_gpio_get_count() take firmware node as a parameter Thread-Index: AQHaanYmuTVWevmzq06Z7dTM4wzKi7EfWQmA Date: Wed, 28 Feb 2024 20:23:10 +0000 Message-ID: <8862c6a9-529c-4c52-a84b-176e6d61351a@alliedtelesis.co.nz> References: <20240228184412.3591847-1-andriy.shevchenko@linux.intel.com> <20240228184412.3591847-2-andriy.shevchenko@linux.intel.com> In-Reply-To: <20240228184412.3591847-2-andriy.shevchenko@linux.intel.com> Accept-Language: en-NZ, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: Content-Type: text/plain; charset="utf-8" Content-ID: Content-Transfer-Encoding: base64 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-SEG-SpamProfiler-Analysis: v=2.4 cv=BKkQr0QG c=1 sm=1 tr=0 ts=65df962f a=Xf/6aR1Nyvzi7BryhOrcLQ==:117 a=xqWC_Br6kY4A:10 a=75chYTbOgJ0A:10 a=IkcTkHD0fZMA:10 a=k7vzHIieQBIA:10 a=QyXUC8HyAAAA:8 a=CNJck4tkpARU9y_bQmwA:9 a=3ZKOabzyN94A:10 a=QEXdDO2ut3YA:10 X-SEG-SpamProfiler-Score: 0 DQpPbiAyOS8wMi8yNCAwNzo0MCwgQW5keSBTaGV2Y2hlbmtvIHdyb3RlOg0KPiBNYWtlIG9mX2dw aW9fZ2V0X2NvdW50KCkgdGFrZSBmaXJtd2FyZSBub2RlIGFzIGEgcGFyYW1ldGVyIGluIG9yZGVy DQo+IHRvIGJlIGFsaWduZWQgd2l0aCBvdGhlciBmdW5jdGlvbnMgYW5kIGRlY291cGxlIGZvcm0g dW51c2VkIGRldmljZQ0KdHlwbzogZm9ybSAtPiBmcm9tDQo+IHBvaW50ZXIuIFRoZSBsYXR0ZXIg aGVscHMgdG8gY3JlYXRlIGEgY29tbW9uIGZ3bm9kZV9ncGlvX2NvdW50KCkNCj4gaW4gdGhlIGZ1 dHVyZS4NCj4NCj4gV2hpbGUgYXQgaXQsIHJlbmFtZSB0byBiZSBvZl9ncGlvX2NvdW50KCkg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