Received: by 2002:a05:7412:5112:b0:fa:6e18:a558 with SMTP id fm18csp952711rdb; Tue, 23 Jan 2024 23:26:15 -0800 (PST) X-Google-Smtp-Source: AGHT+IF01CBMy8XCqj4WjF0l/boXFr5TTUjNYQivervBzKsJeJNFD/kutco9lLOj+SJ7f+actGW7 X-Received: by 2002:a17:902:6b83:b0:1d7:2fa2:a84 with SMTP id p3-20020a1709026b8300b001d72fa20a84mr275049plk.90.1706081175671; Tue, 23 Jan 2024 23:26:15 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706081175; cv=pass; d=google.com; s=arc-20160816; b=g8LKSTME97wmzCDRr7sdKU+F9decGmLuraAeRw4Nkc4ZEwHH4RZkYRHL3ZXnC96eXd oeOGwhioSR+SPrzfXWS5FtTQ44O2arQezH/+KqEAV2BSDkIXyo1aV8WkXdZpSUilIokX R1VUz9gWXQrRDKg0eJW51a0BIKHFC53eUvBBvsfyentWD0aRSpR/Q40QHWcOBgQrEBWn rwamTP9rzYoGCDEC9yMVYcDepJ5UFAUMMEz6iOnTcNK9yngD7NZMj0hG6tydl7Sn/JTp ftVv5q/zT2IldBaOOzwJpUEmOZFr4Tfnw7vEiTbewFS3Aewez2KNTfEUb+xHWl2xffsA Ou4A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:date:message-id :dkim-signature; bh=a8jrcqPgI/3vhSKgHemTJgRZzsqVydzJRui6v8D9poY=; fh=9YhBhoUzXXWkwx3Y4G3E1Yq3Ixnz2STKI5fYDZppMdw=; b=0Oc0l0Y/vuknq1xWUuvaso4+UyEWnDVVx8TAue9/V3GXdf0mR8vSZ6q5TMMGpmqFR4 mQ8cOQNQvX5EnT9XhFwTgFlTfBBPYhkPjKpOAOaYRiyp07ffK5CauOZeVsGcYG+nLGet gNiEhQRfod3VgxgqygVi7ge78EnMI5+9IGZEKZpAbSnU5rJMXFv+hl7WAnujRqwjfnd1 YPmSDA9n/XBnW6s6eK8JjyQy4gsqs6kGSRJs3ATjQWvHi3q7AHSf7fD/GU51c/REm1yf ShO0qW5BAMComArmNveqwzvCT3zJra9ZWhqB+5RkJO2fiT9b0ixWXkZF/xXLNzTlPunW KKBA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=e2IRNoet; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-36544-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-36544-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id x22-20020a170902b41600b001d6f1b54acfsi11197784plr.455.2024.01.23.23.26.15 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 Jan 2024 23:26:15 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-36544-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=e2IRNoet; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-36544-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-36544-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org 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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 1F49328AB54 for ; Wed, 24 Jan 2024 07:25:37 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 87A5A168A8; Wed, 24 Jan 2024 07:25:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="e2IRNoet" Received: from mail-ej1-f48.google.com (mail-ej1-f48.google.com [209.85.218.48]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id CEF461643A for ; Wed, 24 Jan 2024 07:25:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.48 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706081123; cv=none; b=Zn8xA3Tz+bmUx2qOuGj0Mvs8wPrXudx0C7bAOHfs1f1Nk2zTC0twpCPqHWnovhDV0IkVZdZ+pgtySLl5ek4DnzfemMX6oGVs4NGUiuLHlRmKfoow5FHnMr85yn4MyVN+gp6eEt5LjRMfdy32CrOx8vFUlnpMXOhvSNRD4CBA64w= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706081123; c=relaxed/simple; bh=AIukQQBJ/4XCF8WoHZk5ydLR6nAbk7M0ObWxjTdjOes=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=MoxwM+cwiR0f7cppy8PbdY6EOFVGAwklF7ROJk2Jcd73oOx07/SsBJ3e+M5XGfxJ42EJlBGP9mAPT56JMPr6aOxl7p4gUk/LBcTP40cc56+SlvhBb1e4lujRU52/u/JRG+xWQf8aNsVdLDS+R3SPmMO3MRmAQa/EPhstgHxW4QA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=e2IRNoet; arc=none smtp.client-ip=209.85.218.48 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-ej1-f48.google.com with SMTP id a640c23a62f3a-a30e445602cso166371366b.0 for ; Tue, 23 Jan 2024 23:25:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1706081120; x=1706685920; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=a8jrcqPgI/3vhSKgHemTJgRZzsqVydzJRui6v8D9poY=; b=e2IRNoetKtfZztuGrvgjwYXPvlQLeLsjSENFgIs1ffUOKEPmwVzox4Z5pqYRNAoAbu UC3FI9WLt/YbGyyS4wYx71KGJKFkgj8WX+m8eMpvt0P3lsAq2CT+JN/Ey+iZe/6Xi+pM bDWSyT2QBRYTm3WVAitx1Ys0OsSDKVUJ+yc8YKFGkQ3DYTdLMjdQZRuULdI/jGaLEtCq 109/amc0Y01SJ1YS2jJKiPKiyxWFabPn325WDVBr83NBL2k+BcCExv/F7WO0HRtIeiRl M94h+HN3gEa7AHTgHrRo5ewLZ3hG0O+nJIcdmDgzB7khlySMyjQws3qnnIW+T/9Sj39N b5lA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706081120; x=1706685920; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=a8jrcqPgI/3vhSKgHemTJgRZzsqVydzJRui6v8D9poY=; b=ADKFkAhS9eILrngMHYIa5qRKriR3UCntMPyeqOA6S4+iuwF+omFkgL8IKEpWsNXK2c xP9dzyOqsVCFdMANhd7A7wIzw+s5jEHs5ngAolsrl/qOYZiypQ+fpagELiLLF9kf+SAx z7Cd+SlFGCemr9VEfq8Sz2FfaVtHuZTpNyE7qbYllh0f3B/SUX5zPXXV9Rwgd6KywC8D aNVjKdSpeQ0uu0yRl701hDgwjWiqI2Ai8pecZ/MgD1L6ljrgvX5ykSTlg01JqNAPV651 5eCC3tJR8OiDg2PCNkNZz8KbldRXZfvUZzEY/9/eQwjInza0VsxlfgmOCkCywcYhKfrG 2Lew== X-Gm-Message-State: AOJu0Yy2IA1RaEKr8jKNKm4ALMB8+WG0dyd8Lp7DStaOYmF6elxxOgn+ VlWu3uajPrw7LWhu5tfZ7zqyHf9G3UrZyRR5QFZ+RxBbh075l9AKuQ4m7UGJs6o= X-Received: by 2002:a17:906:251b:b0:a30:dd59:858e with SMTP id i27-20020a170906251b00b00a30dd59858emr680795ejb.60.1706081119968; Tue, 23 Jan 2024 23:25:19 -0800 (PST) Received: from [192.168.1.20] ([178.197.215.66]) by smtp.gmail.com with ESMTPSA id e4-20020a170906c00400b00a298adde5a1sm15092803ejz.189.2024.01.23.23.25.16 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 23 Jan 2024 23:25:18 -0800 (PST) Message-ID: <71290f34-f3e6-4190-af8a-5fea61faedda@linaro.org> Date: Wed, 24 Jan 2024 08:25:16 +0100 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v4 0/6] reset: gpio: ASoC: shared GPIO resets Content-Language: en-US To: Chris Packham , Bjorn Andersson , Konrad Dybcio , Srinivas Kandagatla , Banajit Goswami , Liam Girdwood , Mark Brown , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Philipp Zabel , "Rafael J. Wysocki" , Viresh Kumar , Frank Rowand , Jaroslav Kysela , Takashi Iwai , "linux-arm-msm@vger.kernel.org" , "alsa-devel@alsa-project.org" , "linux-sound@vger.kernel.org" , "devicetree@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "linux-pm@vger.kernel.org" Cc: Bartosz Golaszewski , Sean Anderson References: <20240123141311.220505-1-krzysztof.kozlowski@linaro.org> <6c3e4b71-c92f-4f1e-8435-b5cfb7f47117@alliedtelesis.co.nz> From: Krzysztof Kozlowski Autocrypt: addr=krzysztof.kozlowski@linaro.org; keydata= xsFNBFVDQq4BEAC6KeLOfFsAvFMBsrCrJ2bCalhPv5+KQF2PS2+iwZI8BpRZoV+Bd5kWvN79 cFgcqTTuNHjAvxtUG8pQgGTHAObYs6xeYJtjUH0ZX6ndJ33FJYf5V3yXqqjcZ30FgHzJCFUu JMp7PSyMPzpUXfU12yfcRYVEMQrmplNZssmYhiTeVicuOOypWugZKVLGNm0IweVCaZ/DJDIH gNbpvVwjcKYrx85m9cBVEBUGaQP6AT7qlVCkrf50v8bofSIyVa2xmubbAwwFA1oxoOusjPIE J3iadrwpFvsZjF5uHAKS+7wHLoW9hVzOnLbX6ajk5Hf8Pb1m+VH/E8bPBNNYKkfTtypTDUCj NYcd27tjnXfG+SDs/EXNUAIRefCyvaRG7oRYF3Ec+2RgQDRnmmjCjoQNbFrJvJkFHlPeHaeS BosGY+XWKydnmsfY7SSnjAzLUGAFhLd/XDVpb1Een2XucPpKvt9ORF+48gy12FA5GduRLhQU vK4tU7ojoem/G23PcowM1CwPurC8sAVsQb9KmwTGh7rVz3ks3w/zfGBy3+WmLg++C2Wct6nM Pd8/6CBVjEWqD06/RjI2AnjIq5fSEH/BIfXXfC68nMp9BZoy3So4ZsbOlBmtAPvMYX6U8VwD TNeBxJu5Ex0Izf1NV9CzC3nNaFUYOY8KfN01X5SExAoVTr09ewARAQABzTRLcnp5c3p0b2Yg S296bG93c2tpIDxrcnp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G KQ06ztUMRrj8eVtpImjsWCd0bDWRaaR4vqhCHvAG9iWXZu4qh3ipie2Y0oSJygcZT7H3UZxq fyYKiqEmRuqsvv6dcbblD8ZLkz1EVZL6djImH5zc5x8qpVxlA0A0i23v5QvN00m6G9NFF0Le D2GYIS41Kv4Isx2dEFh+/Q== In-Reply-To: <6c3e4b71-c92f-4f1e-8435-b5cfb7f47117@alliedtelesis.co.nz> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 23/01/2024 20:28, Chris Packham wrote: > > On 24/01/24 03:13, Krzysztof Kozlowski wrote: >> Hi, >> >> Patch #2 (cpufreq: do not open-code of_phandle_args_equal()) and patch #4 >> (reset: Instantiate reset GPIO controller for shared reset-gpios) depend on OF >> change (patch #1). >> >> Changes in v4 >> ============= >> 1. New patches: >> of: add of_phandle_args_equal() helper >> cpufreq: do not open-code of_phandle_args_equal() >> >> 2. reset-gpio.c: >> - Drop unneeded comment (Bartosz), add Rb tag. >> - Do not assign of_node. >> >> 3. reset/core.c: >> - Implement most of Bartosz feedback (I responded to one which I did not >> implement) and comments from Philipp. >> - Expect either rcdev->of_args or rcdev->of_node. >> - Drop __reset_gpios_args_match() and use common helper (Philipp). >> - Move declarations of automatic-cleanup variables in >> __reset_add_reset_gpio_lookup() to place of use (Bartosz). >> - Separate gpio_device_get_label() and kstrdup() (Philipp). >> - Correct doc for __reset_add_reset_gpio_device(), rewrite few comments. >> - Drop unneeded "r" variable in __reset_find_rcdev() (Philipp). >> - Drop of_phandle_args initialization in __of_reset_control_get (Philipp). >> - Check if CONFIG_RESET_GPIO is enabled before trying to look up reset-gpios. >> >> 4. Drop Chris' patch: "i2c: muxes: pca954x: Allow sharing reset GPIO", because >> discussion is on going. > > I actually think it would have been OK as-is with your latest change to > return NULL when CONFIG_RESET_GPIO is not enabled. But I'm happy to > submit it independently after this series lands. It'll give me a chance > to do a bit more testing. Yeah, I wasn't sure if the concerns are really resolved. I think you can send your patch separately because there is no clear dependency, so also no clear benefits of me taking your patch into this patchset. Best regards, Krzysztof