From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=74.125.231.131 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796313574; b=N6L+gyEBO37EE3vR8igDFda+t1dWbXtx4EQzJyHVYjcq1l79O66QNTmb6au1UGWreoEg upTOZNl5IHNe+T3Jd739ImqfnCUsj7pbVO6vSpKid2y8k6abGPEMhAYLmM5h7dGCjVa0J jwfRd4rcDPBYmX3mjjwu6HhzhAoFGj1oY4lhzSMxt8cCczqGUYiFe+rC6c1Fsb3lKNtz3 VBzFTpL0lXNd1orWgN4iIPrzyhRr60lwD3SRY1L7Hwl9fX2stBAwlQuC6oFWS1lhtCnn0 SUbesu5PcFm7cRceiZ5wwuS7yuTfFFr1Qqr7OKDgZ3FhhYYLf4avfBrdPA6ixLiatbg== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796313574; h=DMARC-Filter:Received:DKIM-Signature:X-Google-DKIM-Signature: X-Forwarded-Encrypted:X-Gm-Message-State:X-Gm-Gg:X-Received:Received: Message-ID:Date:MIME-Version:User-Agent:Subject:To:Cc:References: Content-Language:From:In-Reply-To:Content-Type: Content-Transfer-Encoding; bh=PU92buAZzKuuS7ReNxN2XiOylvjhdBOCuLc8vkVE3vs=; b=gvDaFkgLs68hqx4KbHfe+iwa0stkvRAfzB5Nvg7PlNJFb+wvxxgms8tXa+kD3sURMgvW kde256m8IQ+66CmN2h+zsdB/FxVIbikOHrqPjWLE4JNZ/GvNLujOhT6Q1mYxAkVf3ISmP p0vl0O+3QW914eihqQwLPuaXy2lpjObry/OUs2DTsso6LffN/p4DUBDW5E3NO+E1PC+O1 U+jvmQ4jc8MS4jOBtWNNBlasbKrVsIaTh1blmFHUGsPATwHnNfouz1t+LFbv/bVu2QQjn FTt1RbgKJZqPTlEPa1DHqk2KjZ2WZoOVKyUVlg7lE5cSni149uANzE42QVTi1kZ6mPQ== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=riscstar.com; spf=pass smtp.mailfrom=riscstar.com; dkim=pass header.d=riscstar.com header.i=@riscstar.com header.a=rsa-sha256 header.s=google header.b=iJAflLt6; arc=none smtp.remote-ip=74.125.231.131 Received: from mail-oo2-f3.google.com (mail-oo2-f3.google.com [74.125.231.131]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 67381606A680 for ; Thu, 3 Dec 2026 15:59:34 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 67381606A680 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=riscstar.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=riscstar.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=riscstar.com header.i=@riscstar.com header.a=rsa-sha256 header.s=google header.b=iJAflLt6 Received: by mail-oo2-f3.google.com with SMTP id 46e09a7af769-8459f7bc7c0so3098a34.1 for ; Thu, 03 Dec 2026 07:59:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=riscstar.com; s=google; t=1796313573; x=1796918373; darn=vger.kernel.org; h=content-transfer-encoding:content-type:in-reply-to:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:from:to:cc:subject:date:message-id:reply-to :content-type; bh=PU92buAZzKuuS7ReNxN2XiOylvjhdBOCuLc8vkVE3vs=; b=iJAflLt6OWOMJ8pEXnjWseC57VtJ9sUK9i8T4G2NFvURZmFV/dKJW7tWCZhkXteCbB fdYyseI98VpfbJvmlNcjrBY+EwIK82W57pCecaM+FG296a4s/SyjP7jMPYkXHw3Y2JT6 qf+yG5Yc3f4AbyDWWvdi7W2YnW39eQLFQ/5wxInG1YQIo8MCuKFCunBc9CO8Bc9pVhf5 MfK5K98N9dNdQYCjrMJS8oajaK/6Md9lOiPkm9BQfYMpWVtyCBdw4CxAJyqToX/Yd2nW 3ngeru3AHvQSR09a7SOsJFgDwerpkhq2hbLDf9TsdBFIlNczeq/LrLBoxOBHTDCYNoDD 51SQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1796313573; x=1796918373; h=content-transfer-encoding:content-type:in-reply-to:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to:content-type; bh=PU92buAZzKuuS7ReNxN2XiOylvjhdBOCuLc8vkVE3vs=; b=zHqkX4AvE/BJ9dyRaOdoEBiLR01xyvYajqem1ob4tiAh6Qu2QalgG0hk7BkDt6Jj15 QydgUuAENMQG+2QdWjcDyvAxbCxlFcvCLm/mS851B9JYfeataPAbaNFQgS6M7PeVP1HM DX6KP/MS1I/m7iEKKYFPFMfIqR6VzFExrF9V0nrJqqE4gM0a7ZdRPCm8qmFInHFeRT/4 6qsk5O5bVPu2ufs8CaQu2X/M/LqinynIJ642t+44L8nFnHXCtHj6xhurNyM4egJiL8OE 3bOLs1geYs3x0OagdCocKd2Y0Wj68uf736JFUUA+72tvx5j9eCOWahHGXF6MyXlKEgBY QMPQ== X-Forwarded-Encrypted: i=1; AL+hErFSSp15kfis9WcP38iGXSScAenVGzIGVLme/NWL+vqoKRFZjvzD2tT51IDEWqiVn1GGa/X8we6lPFKy@vger.kernel.org X-Gm-Message-State: APuU4Z9y1zSHN/4vvT+xZwHGP6eFyz0wEvzjckqPyOzgWBBFXC8R7OhF HO1aX6oXtybJTwf7doOLpHHTzpuT3BVx55bTvfM2xrgNbD9yWCnpuZQO1Fc6ZvEjUbo= X-Gm-Gg: AZFdTZfCUadeTVQ4994lLn/7YQj3gtEHgomS+HE+HCVfObdGpef3tQ0bexpa0E7U2zZ 93fEZZBJrfqXmKw8B08wOQMKR/h0wa+NeF/FFoQ0ZWZPZVvKonwzvAA/xZ/NtKn+ggNcuq7JKyF W3gWuDXLF82TvMFYtAccFWaQQfGygCgQKSyj7CG8qm4qkGCSrZntDYM0i+eVL0r4eLB1yzI05dU KCNpUaqracFoXfMFDul/yKzHGzwQnVpeLI9qN0xMH9EUFzYkQKkvf62IBF7FCD3jXUvBzRz+RAI qhhtr5HGnpaPsKnZg6jjAvmX2+VbIlMCiPCODPOZebJU2iZ08jhH9lh5e3AHytSAH5JpTLasCtq wkK2AJwVYaAdoCcoPV40TxZGnImWC3FvY0vLiexng/oFymkIy9/XUapQIoTkgkfUZ539h3WisSE cU/GjoKyO92OfqOvLrOWCFm28fPt1idnd28xMvvaKCUOI7cBr9huOVFaWRHPyRjqDGZ8+8jXazP tQkji+2DAU6btu5Ocfz1P7ox6Dm6YAAJz2QaWDFfO4hQebNED9NhOT3j2BnMtVpErAP+y77Sxo0 buaz/C2U2y18D3Nme3dCclJ840BAz5A= X-Received: by 2002:a05:6830:a208:10b0:863:3892:70f1 with SMTP id 46e09a7af769-86338927985mr26141561a34.27.1796313573449; Thu, 03 Dec 2026 07:59:33 -0800 (PST) Received: from [172.22.22.28] ([76.156.233.211]) by smtp.gmail.com with ESMTPSA id 46e09a7af769-8639242b7eesm16687448a34.24.2026.12.03.07.59.32 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 03 Dec 2026 07:59:33 -0800 (PST) Message-ID: <81f2f5a7-0014-4a79-b773-9f4e09bc08cb@riscstar.com> Date: Thu, 3 Dec 2026 09:59:31 -0600 X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v4 0/4] clk: tc9564: introduce clock and reset drivers To: Jerome Brunet Cc: sboyd@kernel.org, bmasney+clk@redhat.com, jbrunet+clk@baylibre.com, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, p.zabel@pengutronix.de, andersson@kernel.org, konradybcio@kernel.org, abelvesa@kernel.org, arnd@arndb.de, gregkh@linuxfoundation.org, daniel@riscstar.com, mohd.anwar@oss.qualcomm.com, lorenzo.bianconi@oss.qualcomm.com, fabrice.gasnier@foss.st.com, alexandre.torgue@foss.st.com, marex@nabladev.com, changhuang.liang@starfivetech.com, linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org References: <20261201160810.2422466-1-elder@riscstar.com> <179630594987.3767986.1784199712519828196.b4-review@b4> Content-Language: en-US From: Alex Elder In-Reply-To: <179630594987.3767986.1784199712519828196.b4-review@b4> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 12/3/26 7:52 AM, Jerome Brunet wrote: >> This series introduces a devicetree binding for a clock and reset >> controller, along with a clock driver and an auxiliary reset driver, >> to support the clock and reset components present within the Toshiba >> TC9564 chip. >> >> The Toshiba TC9564 is an SoC that attaches to a host system via PCIe. >> It includes a PCIe switch with three downstream ports. To one of >> these ports an embedded PCIe endpoint is attached, and that implements >> two PCI functions. BAR 4 for both PCI functions provides access to >> registers controlling blocks within the SoC, including the clock and >> reset controllers supported by this series. >> >> This version of the series addresses feedback received on version 3. >> It includes adding an "imply" statement in the Kconfig for the PCI >> driver (located under drivers/misc). >> >> -Alex >> >> Version 3 is available here: >> https://lore.kernel.org/all/20261125202141.1288493-1-elder@riscstar.com/ >> >> Between version 3 and version 4: >> - The reset driver functionality has been separated from the clock >> platform driver source code, into its own auxiliary device driver. >> - The clock driver now creates an auxiliary device representing the >> reset controller. >> - A few definitions are placed in an existing common header file, >> to define the interface between the clock and reset drivers. >> - Reset IDs are defined in a header file separate from the clock IDs. >> - The three clock types implemented by the clock driver (PLL, fixed >> rate, and gate) now have distinct zero-based identifiers, and are >> no longer represented within a single clk_hw_onecell_data->clk_hw[] >> array. >> - Clock and reset ID symbols now have a "TC9564_" prefix. >> - The function that formats clock names using kasprintf() now has the >> suffix "_alloc", to make it more obvious the caller must free the >> returned pointer. >> - The clock driver no longer *depends on* the TC9564_PCI config option >> (for the TC9564 PCI driver). Instead, the PCI driver *implies* the >> clock driver config option. >> - The clock driver no longer specifies that it prefers asynchronous >> probing. >> - The reset and clock drivers have separate Kconfig options, and the >> reset driver config option is *implied* by the clock driver. > > It needs to come before the clock patch is the series then, for the Kconfig > symbol to exist before you reference it Yes, I agree, and I'll reorder them. Thank you very much for the review. -Alex