From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=74.125.231.138 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796313575; b=Bct3Vvwkuox6O2L4RZihkTnFNdkjf+NA+Umask2vod6ZBr8vP10mlA9iPHhGSrByx0FA IqKcmwpMYvAp2L2QuzZvojMx7rhsbapzVk87pQbvC5+2C70mrJdJyyzwceUW79etQExib B9gGiUD/QTxnnXuWol4j94X8KOOcFRWyUKHYTTzQMOUwnfZp8yDGCcNT8X55OyxxAIkuy 4t2vQgDfmEuCzxMPqpdUV+i6EbXz/SQB6XqPlAWFO74v92G5uGPG3PenDcfgjXdcqpk7h sBfoIfBRaxL0yoLC4Swg9ZENZzA0rIOtIz2DAj0ivlYBrbVBuCXPzNel8rK2kOCyp2w== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796313575; 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=TBIkdIAkrWTvcij3lP5OFca8qGB0osNQ9PazGHwyQ4GwDm4pGiajOf4uKiv1Gt1ztxfg VEMLHWPjtGDV/PsfjEoJJHudvwY6+vZO9XYhJcpkmoZeV47z/Jiknkqsd9u6Gzplu0D6W taLUnCxH5hUSJwnadU+voUFFzp9hODZnwB39gCHUjAYngOGir+UC6UkDjdi5ZsGbO6zKg 5UUuXKXwiPy1msZZobTpx//4s3axv60+U7G7UpSB9yvcykCNaH0o7gAoEfZWJi7ieiiDO oXOeYF9hZNIosLAKbwe88OGQKLyQd4jCkZCQNrs3kS+g9zwqrdUlQETOGg2acwTrApQ== 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.138 Received: from mail-oo2-f10.google.com (mail-oo2-f10.google.com [74.125.231.138]) (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 D039B606A32D for ; Thu, 3 Dec 2026 15:59:34 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org D039B606A32D 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-f10.google.com with SMTP id 46e09a7af769-862aa241d77so10384a34.0 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=rI9oTqYQeDAMXeQJjxySHRnEP29vHaKMtUIL3Crdkh5IwzAoMSGu2KvFELP0aSXfyS aOw6yYkQn3HuDVElFVQT+QYJWTkzjDWY9pQMNOCKWqFqpfeuL6uci960EW5tTtVvG+6U BNM+Slip6AkfwqChEX7DFD04ZifhkeA5umL82xiupsGL3k5z9M5MrFTstj6+/ZOugUUd cUsz9TEkZgCxe9+fdEeOT2nlVPFyAm6p/U8JrY3OBuQevucZvXRnqUg0Gdba7Am50eJe uiVPTNW9e2o61hZM5KA1pENHU1bcy8WHaAxDOHWVZhFzfgGLEgaE/Hfx5xHT97tR/Zje xWKA== X-Forwarded-Encrypted: i=1; AL+hErF0LOOJTboXwCq/1f22GeOJHiZBpRaCxJ9o/eDb1Qch2diNP9Yc6styvnTpBBSUmck5lr83crK+2PZl63k=@vger.kernel.org X-Gm-Message-State: APuU4Z8gaS2NE5oSekygklW0I/c3q2KXwxQowuLnmlZuPhI1O0cgsz7s BgAyeivByoug9fswE+WrOa7bY4BbSMk7+0oY2KBrQ+BO+WqKD6xTWbIPdECc3IqFb58= X-Gm-Gg: AZFdTZck8P6mnhRZPhMr+4WEjcwDYsMEFYPkJNNEgmF08Spk60NQpq38rylSL/SNwRb 8+KyJ248gXH/f0Fa/5OLtHAPqOt6MSxuJBtYBJsOUH4f+klAgh85jihuyOrNCo6ICEuvaq4cQR0 2ndKLmRph636hByd6M8yZ1m9wKHHHN6oKjdLylamb5NmZwG/B67aCJH5Gm7yF/f9+Go//bGQeBW ri924jNFNdIu+o/Drlwrkrog02O9MEHoZ5D/dNOh0nwY7KwI9K182JIWa//2UfH69+gO+ybZSOX 5ys98nviscxMu0HACwootROqUzbwXjeNzZeiY6rEJLuJ7pxGzwBZXubXk66UqWA4f6sB/oZPq0H vuN4ekNudF3kClHZ7idhZInY9gStT2QyDWaLJ4Ng+xmcmK55ixYvGES2SQXVn2A+noc/29gonn4 HohoBfrj2yXaEJmSmYfQ2M3gxh71EHy17BRt5upXk/rc4OXjd4gnGeYbyrRvrz8fU2Qbl6xWw2t zf+ttT3CCEg4xPSZoauJR3v3YO0eiEXMinx7cMfEznxZ2zURCG33lWuTiWzgexSZhH2069PC7S2 Js/NAd5QamSD/naA2x/cz9ESBntMkjQ= 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: linux-kernel@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