From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wm1-f54.google.com (mail-wm1-f54.google.com [209.85.128.54]) (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 4EE4622541C for ; Thu, 6 Aug 2026 16:14:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.54 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786032849; cv=none; b=U8F2XMarUgrOC7W4z+HfdVLE/WDZcxWHsvSeN369wsp20KAAXcTlYqFRnW9fVyJfl4qHlCEEJGe2U6h4Wx7DeELFA7ubCHEK+6OPg8gB8nWdyYuzdUOoFNK6kXPuIFpM/j37y/3Qlu2l2wTfJGFASIw8ebgj+jYEqtYurC4cU0I= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786032849; c=relaxed/simple; bh=flhDTkGJSoCpzIL8bnxa4x1vBdVMKKtbu2rInh2HXPI=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=IwiV4O6BNbVXhd3v4x0Mukx6EDwmCEGF2qA2+vri0odoAiOuAeNYzMgRMVfnM5DT43bQzmE6i0yRowZoGrepWkcqr/Scq3gZ/EfaR9mQewKsE+he9Cf6wLp/hqrgvPw/AA1RLdm7XTmJbIDRqGbCd+t5SPidCfw+lQix4UT/Trw= 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=Yxm89g/8; arc=none smtp.client-ip=209.85.128.54 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="Yxm89g/8" Received: by mail-wm1-f54.google.com with SMTP id 5b1f17b1804b1-4980dc26022so23598035e9.1 for ; Thu, 06 Aug 2026 09:14:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1786032846; x=1786637646; darn=vger.kernel.org; h=content-transfer-encoding:content-type:in-reply-to:content-language :from:references:cc:to:subject:user-agent:mime-version:date :message-id:from:to:cc:subject:date:message-id:reply-to:content-type; bh=tXxkSVa+2eu05dZjUDlR4s5Kc7ssR4Aj7dZF9elDO2E=; b=Yxm89g/8NlHBmfeWOlUf/I5/fUCNvwLkx1OkmIwJ+RDgJ6go6WfX2c45VniM1XPwe0 3c0BctBq7jgGe/ZacC57HJ7HzpqR+Bk4+11/6+mm3vS3r4OYt4uRlZUWfXMWM/A72fbO sCWJy5eJYsEYiZV9K7BMkfNx8vw7P549crDRa1AF5npaTdJYypy+694bGZzj7MWIMGSU 9z9anhZKKnqMQSsMJ2fx87NzSELeymS4gDpFGG7cnVR++0VPqJuKg0gQCtcw1RAhiv+p X8BX4XO/Lhki1kGMQse36XBg4H3Iz93B0bsJMlZH8b3uPR+2PlCaxJmYAvcmx7B15NgQ ld7Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1786032846; x=1786637646; h=content-transfer-encoding:content-type:in-reply-to:content-language :from: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=tXxkSVa+2eu05dZjUDlR4s5Kc7ssR4Aj7dZF9elDO2E=; b=h/fBtP3Id9/x+dVtGbOX4W9yEje1k2TgwdRTvswp7Dns47oTcwmGuFFLeqddLfGIYv 03Xen2vaT9Jpuse0xwmNGlyR4dBB+NFS3I/MXVSFFg7Cu31yLk7T8k7f8YWy9U40R9m0 uubyisxGK3pCpkIbBsThfYYIsb/lbi3UDU7HSrFc0OrnAnTdWxffs6oYKTIkF9jFE1m/ Oku6OrvhiLkjCTjdDnQck0jXcxgT9ARO31pCbFxIenMlB5Kz6v/7KaVTZSutJdVZVgt9 9AEqk6Tsi8v1nntOQKyxiumMIW/teXDpxAGOmQnWff2f2kPHHK6sL9VbOXsQdnRwVmpw bT3Q== X-Forwarded-Encrypted: i=1; AHgh+RqQm2QHEaaRexb8Cnm1uYB4dEwPSm+52VTfyCXB4Bc2TSf0F3mNx1uz8j/cUtwjPNSRhibKGS2w4591yjs=@vger.kernel.org X-Gm-Message-State: AOJu0YyPtkb14tOSIlgRpUccDOawPJxw0ULK5NGyH4Z643+lRDr6Yxud jLgISHYSWPwY07JsVofT24PoUeQe7/6TvcOc9lLndl8NQTfrQaV4QHOzVlGSIsaz3VY= X-Gm-Gg: AR+sD10VDHEco/Ptnh7TfDG1LihDOUDVjhocOz/1pUyvsQAYu7k/lAz+TDk+oVEJfnA VgZ44qOxoh0n1yAECcghSzBRJzs82GZFjM+xat/kWsuj+8Vs2n0q08jAV8iy7tqmqj8bBJirr5L DUSTF0XeOwVPiNxd0VPqMbF2crVdNcKbsrMuoQpvjSohio3cssjYbbquYbBxYCsVZ3sWdVE3k8t pW/rYyjQwqK4o3PMrG5LrNUcDgKnL1LSvUUVry4EpQySMhAcVF07PmiKPovrVdBSsMLXaDnMyiG nGslzm19mhoPiogTk0zQdXIlfzxE8P+RIS9sB9ts21tg+zaZrtQD/EmS2TepXbYxJytsrZrj+yr GA3PXVP7ru4Odq1UOzpeRx+6pB9Q0fmw9czicgNmr15GhQcyxeYHdfRt5TGRnqn1bW2eAk+Ia0p 0jwBTWc6YpHkjEHuNAp8UJIdotLUBTsTicGnwB60pgWIqG/dO6mcsOc54II6wC1JP25PSXdCfRZ w== X-Received: by 2002:a05:600c:4ba2:b0:493:b6ee:fcb7 with SMTP id 5b1f17b1804b1-4994e7d3434mr142978515e9.14.1786032846564; Thu, 06 Aug 2026 09:14:06 -0700 (PDT) Received: from [192.168.0.101] ([109.76.115.165]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-4995421b198sm84909005e9.7.2026.08.06.09.14.05 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 06 Aug 2026 09:14:06 -0700 (PDT) Message-ID: Date: Thu, 6 Aug 2026 17:14:04 +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 v2 1/4] dt-bindings: phy: rockchip,rk3588-mipi-dcphy: support per-direction phys To: jason98166@gmail.com, Vinod Koul , Neil Armstrong , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Heiko Stuebner , Guochun Huang , Philipp Zabel Cc: linux-phy@lists.infradead.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org References: <20260726-dcphy-rx-v1-v2-0-cf9cc34a412a@gmail.com> <579EMzIB4QpX971YyewFrke7qDRTnb7VISWtBI86oM2PJpls9AOXn5nKFyv8PA9EiZWOiczXm9LbDAO8XTkrig==@protonmail.internalid> <20260726-dcphy-rx-v1-v2-1-cf9cc34a412a@gmail.com> From: Bryan O'Donoghue Content-Language: en-GB In-Reply-To: <20260726-dcphy-rx-v1-v2-1-cf9cc34a412a@gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 26/07/2026 15:55, Jason Yang via B4 Relay wrote: > From: Jason Yang > > The Samsung MIPI D-/C-PHY block on RK3588 drives a MIPI DSI transmitter > and, on the same PHY, can receive a MIPI CSI camera. Describing both as > independent consumers of one PHY requires the direction to be expressed > in the devicetree. > > Allow "#phy-cells" to be 1 or 2. The existing single-cell form still > selects the PHY type and refers to the transmitter, so shipped DSI > device trees stay valid; bumping the cell count unconditionally would > invalidate them. A second cell adds the direction, letting a DSI (TX) > and a CSI (RX) reference the same PHY node as separate consumers. > > Add include/dt-bindings/phy/rockchip,rk3588-mipi-dcphy.h for the > RK_DCPHY_DIR_TX and RK_DCPHY_DIR_RX direction constants. > > Signed-off-by: Jason Yang > Assisted-by: Claude:claude-opus-4-8 LGTM Reviewed-by: Bryan O'Donoghue