From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 1E490606A693 for ; Thu, 3 Dec 2026 18:47:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=r3uj/cni; dkim=fail reason="signature verification failed" (2048-bit key) header.d=linaro.org header.i=@linaro.org header.a=rsa-sha256 header.s=google header.b=G7fwAMOy DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:Content-Type: Content-Transfer-Encoding:Reply-To:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:References:Cc:To:Subject: From:MIME-Version:Date:Message-ID:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Unsubscribe-Post:List-Owner; bh=rYUW13eLjfX39FjwxsM9FzUbMfixuddfNTZh2IaOHu8=; b=r3uj/cnih5moDqbN5HvHq1Xyxs Z1uPX+SccqjrGL7IPUc8bmWms173MQmnQB5ia2h0Z4Qz9zoM6lr7MUqZdomzIXx+uTkTOUUSXlING uSgaw0ydLlaNN9ph3OS2NlwSKb7IqktK/iaoRYxQG3xh/2JT8b1DWyGSeW1hJdap5BpCmojFi1gtz iZeealAH6q37Q0dYzYFZAHteaoZHOR0HUC2j+eAm1XDW1gK6Wf3gLlP8E/PnByCKCYhodVV1nFXyK QUQGBdWYAw5HuAKujtpFz+3b1rwcYLI4oOyI2bnlDoOU5mBf5bjFZUPueTTOD4QIGAXjG3nidFud/ AyM64pww==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.100.1 #2 (Red Hat Linux)) id 1xZBpn-0000000FciI-3tVa; Thu, 03 Dec 2026 18:47:11 +0000 Received: from mail-wm1-x32c.google.com ([2a00:1450:4864:20::32c]) by bombadil.infradead.org with esmtps (Exim 4.100.1 #2 (Red Hat Linux)) id 1xZBpf-0000000Fcc0-04Ye for linux-amlogic@lists.infradead.org; Thu, 03 Dec 2026 18:47:09 +0000 Received: by mail-wm1-x32c.google.com with SMTP id 5b1f17b1804b1-4a3517554f7so688315e9.2 for ; Thu, 03 Dec 2026 10:47:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1796323621; x=1796928421; darn=lists.infradead.org; h=content-transfer-encoding:content-type:in-reply-to:organization :autocrypt:content-language:references:cc:to:subject:reply-to:from :user-agent:mime-version:date:message-id:from:to:cc:subject:date :message-id:reply-to:content-type; bh=5BLXVCYwTd33WJbs/9zqq0gexpMGDviI6X8++Z36bjc=; b=G7fwAMOyWfWMeWA1DHtQgcDskhmkAfcMAB3frEBRltxHIc7RAkGX9jLUmr1vZoPfJM ikO5/Xm9Q3MaBpUrRY1DmXsWoO1jMitsbloJ9QP8yRM0D4r/d8npmVAeu0gt68ySAgdV 6LjBDm/v5EZsCrKeqMK1Uh/n4R84BGh7gfg0AwpE5Nzd96xvdy36pN7ZiwI5ZNkKav5o V7FXfXC1k1D2YZLmzmtE3S/Z9yBlKuAzgJK6L9X6KbDsJGYRGqo0iWmOd3xkZ6sBoG/T j6hl7gWQ4/BEdNeh2B2NBGW3EXGkDMjUQiq3D5aKHiyumA39UHPi7kCQgkttiNFsuGuO oBoA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1796323621; x=1796928421; h=content-transfer-encoding:content-type:in-reply-to:organization :autocrypt:content-language:references:cc:to:subject:reply-to:from :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=5BLXVCYwTd33WJbs/9zqq0gexpMGDviI6X8++Z36bjc=; b=G+XRWvuqK31MeJIt60EXc2PydiH+2RjhAwn4qfSDFiM9CKRYlvyzLHRZLPvA5IMeMP Hbnw4oeFFeuXAXCon2Vc8uiQa4EoPLPEcMaXqgumdkTymVIfYdrMzU3x5nNKLWBUI3ZS pTgK7ELokcM8VHoNSAnlk6OaD/D9zyzG8LgQtaDn9kOpmFztiENXOP5RV6V1nKxpQAh3 9cFozv369Lc3m731axjLdFqXNh9rscIhu8eFzM7fhLAGy81uq4E6VjqNGg/8cz8ZMNCp PuHna6MsA/yov45SqiV7FcQjJQMQcCQubWzM0XM72qtmye5zH87LvcNGG3Yx2mOmDDAe p7Tg== X-Forwarded-Encrypted: i=1; AL+hErHXvx93l1K1M5VsxFoTrelAboCIgp6FkpE4A1eyJ2JMSCk3apAAU9yLPQhLMX8vJhqOXMMOnyeiabtnq1bl@lists.infradead.org X-Gm-Message-State: APuU4Z/MSujMmyLYTfHrUw4GilZKNL5/4gVzR0Biy3A20QNBZvKQg9/T MRQ1ZD5ZLM2ucdWkeHVeRGpLnFS/9PhQdtNNLELLJ+wddQEBMudB0mq/BBCYqGymN9U= X-Gm-Gg: AZFdTZctjifxwJd5GGM7KeqndJBjXFmNV6SXDoRBFQhpoKRljFyBfhcdDC/f+kw4mKX XRR9BcBoctw5Ak3hqcSzRPmUs4Iw7M85ovTSc5nbSi43MCXlpIIuzl4IPNfsS8ujtmCPBsdFGDN /0T7gFBgRJtTyDLkcam7n+Q9oyfoqxuidlwuR3FULviYbHCWMt9b2aJspFuk3ErDDXu5m4i+tj7 gwfwDLll54xWYclPlYFTImlY4KF/T4gGpJnEkO0tLJNx3pVlIjW0/IBhQQNYgtYwMAKNy9ppsXV v/Jb8cjJt7O+3czNx94rjB98WR3uPyF3/zoZ9SmGiXlwbIeup4puRBcfvSLMu28RUXCb0gOvt+d thJARl+493r1HbAq0msutMlonZhmRKyqFA0Cl0Fn5fyNDifjcR0HKmrczJDVUUosv5UsvCNOlDa biafcWEwpibxX63NW3SeQS81SIPVFOnP2MQzWMZhsOnGs63G2C5XM4vhfJjH1bSxTC97X1Pknwc tCarYGU94EtiC8UMDH+WWU63LuPqoE3lCGe2oXGZWAh3dixVM0WvM3QtSgh4QdDhDh21L1vuOD6 gb28Vjs12uOlcHR7b0RrZkzk3pm+J7H6I75aBcazLMBdn7QI+d7de1kd55p2uFvMzu0AY3Hxya3 Ban6VO8tn X-Received: by 2002:a05:600c:8b11:b0:4a1:df52:3e36 with SMTP id 5b1f17b1804b1-4bb8881d194mr915343365e9.27.1796323620697; Thu, 03 Dec 2026 10:47:00 -0800 (PST) Received: from ?IPV6:2a01:e0a:106d:1080:7de3:fcb2:e184:4e7b? ([2a01:e0a:106d:1080:7de3:fcb2:e184:4e7b]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-4bb90655f5asm870082355e9.1.2026.12.03.10.46.59 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 03 Dec 2026 10:47:00 -0800 (PST) Message-ID: <16a5430d-592f-48f7-9625-12ae53d75450@linaro.org> Date: Thu, 3 Dec 2026 19:46:58 +0100 X-Archived-By: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird From: Neil Armstrong Subject: Re: [PATCH v6 02/13] dt-bindings: soc: amlogic: meson-gx-hhi-sysctrl: Add #phy-cells To: Krzysztof Kozlowski Cc: linux-kernel-dev@aliel.fr, Rob Herring , Krzysztof Kozlowski , Conor Dooley , Kevin Hilman , Jerome Brunet , Martin Blumenstingl , Vinod Koul , Manivannan Sadhasivam , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Simona Vetter , Ulf Hansson , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org, linux-phy@lists.infradead.org, dri-devel@lists.freedesktop.org, linux-pm@vger.kernel.org References: <20261201-meson-drm-create-hdmitx-phy-v6-0-5ccdf57a6cf5@aliel.fr> <20261201-meson-drm-create-hdmitx-phy-v6-2-5ccdf57a6cf5@aliel.fr> <07f3e282-f83b-4c89-9ec0-6887f63c1882@linaro.org> <20261202-rough-furry-bird-6bae58@quoll> Content-Language: en-US, fr Autocrypt: addr=neil.armstrong@linaro.org; keydata= xsBNBE1ZBs8BCAD78xVLsXPwV/2qQx2FaO/7mhWL0Qodw8UcQJnkrWmgTFRobtTWxuRx8WWP GTjuhvbleoQ5Cxjr+v+1ARGCH46MxFP5DwauzPekwJUD5QKZlaw/bURTLmS2id5wWi3lqVH4 BVF2WzvGyyeV1o4RTCYDnZ9VLLylJ9bneEaIs/7cjCEbipGGFlfIML3sfqnIvMAxIMZrvcl9 qPV2k+KQ7q+aXavU5W+yLNn7QtXUB530Zlk/d2ETgzQ5FLYYnUDAaRl+8JUTjc0CNOTpCeik 80TZcE6f8M76Xa6yU8VcNko94Ck7iB4vj70q76P/J7kt98hklrr85/3NU3oti3nrIHmHABEB AAHNKk5laWwgQXJtc3Ryb25nIDxuZWlsLmFybXN0cm9uZ0BsaW5hcm8ub3JnPsLAkQQTAQoA OwIbIwULCQgHAwUVCgkICwUWAgMBAAIeAQIXgBYhBInsPQWERiF0UPIoSBaat7Gkz/iuBQJk Q5wSAhkBAAoJEBaat7Gkz/iuyhMIANiD94qDtUTJRfEW6GwXmtKWwl/mvqQtaTtZID2dos04 YqBbshiJbejgVJjy+HODcNUIKBB3PSLaln4ltdsV73SBcwUNdzebfKspAQunCM22Mn6FBIxQ GizsMLcP/0FX4en9NaKGfK6ZdKK6kN1GR9YffMJd2P08EO8mHowmSRe/ExAODhAs9W7XXExw UNCY4pVJyRPpEhv373vvff60bHxc1k/FF9WaPscMt7hlkbFLUs85kHtQAmr8pV5Hy9ezsSRa GzJmiVclkPc2BY592IGBXRDQ38urXeM4nfhhvqA50b/nAEXc6FzqgXqDkEIwR66/Gbp0t3+r yQzpKRyQif3OwE0ETVkGzwEIALyKDN/OGURaHBVzwjgYq+ZtifvekdrSNl8TIDH8g1xicBYp QTbPn6bbSZbdvfeQPNCcD4/EhXZuhQXMcoJsQQQnO4vwVULmPGgtGf8PVc7dxKOeta+qUh6+ SRh3vIcAUFHDT3f/Zdspz+e2E0hPV2hiSvICLk11qO6cyJE13zeNFoeY3ggrKY+IzbFomIZY 4yG6xI99NIPEVE9lNBXBKIlewIyVlkOaYvJWSV+p5gdJXOvScNN1epm5YHmf9aE2ZjnqZGoM Mtsyw18YoX9BqMFInxqYQQ3j/HpVgTSvmo5ea5qQDDUaCsaTf8UeDcwYOtgI8iL4oHcsGtUX oUk33HEAEQEAAcLAXwQYAQIACQUCTVkGzwIbDAAKCRAWmrexpM/4rrXiB/sGbkQ6itMrAIfn M7IbRuiSZS1unlySUVYu3SD6YBYnNi3G5EpbwfBNuT3H8//rVvtOFK4OD8cRYkxXRQmTvqa3 3eDIHu/zr1HMKErm+2SD6PO9umRef8V82o2oaCLvf4WeIssFjwB0b6a12opuRP7yo3E3gTCS KmbUuLv1CtxKQF+fUV1cVaTPMyT25Od+RC1K+iOR0F54oUJvJeq7fUzbn/KdlhA8XPGzwGRy 4zcsPWvwnXgfe5tk680fEKZVwOZKIEuJC3v+/yZpQzDvGYJvbyix0lHnrCzq43WefRHI5XTT QbM0WUIBIcGmq38+OgUsMYu4NzLu7uZFAcmp6h8g Organization: Linaro In-Reply-To: <20261202-rough-furry-bird-6bae58@quoll> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.9.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20261203_104706_330043_0793467F X-CRM114-Status: GOOD ( 20.61 ) X-Spam-Score: -2.1 (--) X-BeenThere: linux-amlogic@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Neil Armstrong Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: "linux-amlogic" X-Spam-Status: No, score=-5.4 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=4.0.1 X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on aws-us-west-2-korg-listserv-alma10-1 On 12/2/26 15:30, Krzysztof Kozlowski wrote: > On Wed, Dec 02, 2026 at 08:57:33AM +0100, Neil Armstrong wrote: >> Hi, >> >> On 12/1/26 21:12, Ronald Claveau via B4 Relay wrote: >>> From: Ronald Claveau >>> >>> The HDMI TX PHY found on GXBB, GXL, GXM and G12A SoCs is controlled >>> through registers of the HHI system controller and has no resources of >>> its own. Instead of describing it as a child node, let the HHI system >>> controller act as the PHY provider, so that the HDMI TX controller can >>> reference it with "phys = <&sysctrl>". The PHY itself is instantiated >>> by the meson-gx-hhi-sysctrl driver as an auxiliary device. >>> >>> Add the "#phy-cells" property (const 0) and forbid it for the other >>> system controller variants. Add it to the example. >>> >>> The HDMI TX PHY registers differ between SoC families, so the driver >>> needs to know which family it is running on. Add SoC-specific >>> compatibles (amlogic,meson-gxbb-hhi-sysctrl, amlogic,meson-gxl-hhi-sysctrl, >>> amlogic,meson-g12a-hhi-sysctrl) to select the PHY variant. >> >> There's multiple PHYs in the HHI register zone, you can't consider the HHI zone >> exposes an HDMI PHY and keep the dsi phy subnodes. > > Heh, bindings should be rather complete so we see entire picture... but > there is a phy already, so what is that for? DSI phys you speak of? HDMI, DSI and CSI phy > > >> >> I disagree with Rob, the HDMI phy subnode is a continuity of the >> actual bindings design, the current solution is wrong. > > The existing phy subnode is wrong, because it has no resources. Well, it's here already > >> >> In subtance, HHI is a "system configuration register zone" which is >> mix of registers for core system functions like clocks, power domains, > > And mix of registers means it is not a separate, dedicated and re-usable > device. If it was a device re-usable among different blocks/SoCs, then > it would have a fixed/constrained reosurces like reg. There is plenty of > such examples in case of PMICs (which are also modelled as MFD): they > consist of main regulator function and RTC/32khz clocks often on their > own I2C address. > > If your addressing is mixed up with parent and you have no single other > resource, then IT IS the parent device. > > >> DSI analog PHY, HDMI phy (and plenty of other core registers). >> >> As of today, the bindings is: >> >> hhi: system-controller@0 { >> compatible = "amlogic,meson-gx-hhi-sysctrl", "simple-mfd", "syscon"; >> reg = <0 0 0 0x400>; >> >> clkc: clock-controller { >> compatible = "amlogic,g12a-clkc"; >> #clock-cells = <1>; >> ... >> }; >> >> pwrc: power-controller { >> compatible = "amlogic,meson-g12a-pwrc"; >> #power-domain-cells = <1>; >> ... >> }; >> >> mipi_analog_dphy: phy { >> compatible = "amlogic,g12a-mipi-dphy-analog"; >> #phy-cells = <0>; >> ... > > Nothing more for the phy, at least according to DTS example. Can you elaborate ? > > Best regards, > Krzysztof _______________________________________________ linux-amlogic mailing list linux-amlogic@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-amlogic