From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 3B8C9C55160 for ; Thu, 30 Jul 2026 11:25:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: Content-Type:In-Reply-To:From:References:Cc:To:Subject:MIME-Version:Date: Message-ID:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=orx9RzZvjBJeHDwzJT3cJopta3ow8BFebVkVX+I1fDE=; b=hobjyo6aTqw4H2c7OU/LjDmFzw 5ymRESk47ZWUN8UelyKyeNwDPT6Q8c8SEruFO4sZuFLqUbEvTCdp76vxk+MUdrBE4XpdM0/weY5Yz SfH7OxzleD3BLAFTNOgUJGOzj0+4NwXicpC/ua7zFLjNCyIFvMvpbPCHoRxAek0/G478jX1vXSUbg 7WqrNiVBX3lDF8P3TSgkLkI61IkB5Dt2cUt2xbLFL+AbR6d0RJrnJMoSvEZ7SyVA3+AekDDB3joQf k/r0gYtVQD3AbvYenQ4KSSpycChNMU3JGAnDT8F/RXfO+d8otsY75FRGrC11ARuumpYsqM7rUReDs x+cxGwGw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.99.1 #2 (Red Hat Linux)) id 1wpOsr-0000000AL9t-48jf; Thu, 30 Jul 2026 11:25:06 +0000 Received: from perceval.ideasonboard.com ([213.167.242.64]) by bombadil.infradead.org with esmtps (Exim 4.99.1 #2 (Red Hat Linux)) id 1wpOsh-0000000AL6s-3cHp for linux-arm-kernel@lists.infradead.org; Thu, 30 Jul 2026 11:24:57 +0000 Received: from [192.168.88.20] (91-158-153-178.elisa-laajakaista.fi [91.158.153.178]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 4B4FC1E4; Thu, 30 Jul 2026 13:23:46 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1785410627; bh=DzHnVwnTc6oGfkh+g4/rk5yYatTVNL0ZjN3aJU+T3g4=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=VETCDlPwHNMJqXG2NeITlk/mu/auklkTMfYlkwHbuopiSRmhqT49daRCQFyr7Hyrw J4VrHiYoXsg/IitpJn2FSjpaPkPdIzvRigiNijNvy6JvwIV0Ksc8f8bgAKEH9gDh4x A6oEnIK4dQbcRj0bCjiT9x2OegsAw2tX1SsqPOqs= Message-ID: Date: Thu, 30 Jul 2026 14:24:49 +0300 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v3 04/15] dt-bindings: display: ti,am65x-dss: Add ti,dpi-io-ctrl To: Krzysztof Kozlowski Cc: Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Simona Vetter , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Lee Jones , Aradhya Bhatia , Nishanth Menon , Vignesh Raghavendra , Swamil Jain , Devarsh Thakkar , Louis Chauvet , devicetree@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org References: <20260529-beagley-ai-display-v3-0-7fefdc5d1adf@ideasonboard.com> <20260529-beagley-ai-display-v3-4-7fefdc5d1adf@ideasonboard.com> <20260530-slim-private-dachshund-e869cd@quoll> Content-Language: en-US From: Tomi Valkeinen In-Reply-To: <20260530-slim-private-dachshund-e869cd@quoll> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.9.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20260730_042456_056679_E2AF0E34 X-CRM114-Status: GOOD ( 18.02 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hi, On 30/05/2026 11:58, Krzysztof Kozlowski wrote: > On Fri, May 29, 2026 at 11:45:34AM +0300, Tomi Valkeinen wrote: >> The DPI output pipeline in K3 SoCs contains the display subsystem (DSS) >> which produces the in-SoC parallel video signal, and a DPI block which >> adjusts the signal to the external MIPI DPI output. >> >> The DSS IP has registers to configure whether the data and sync signals >> are driven on rising or falling clock edge, and on some SoCs these are >> automatically conveyed to the DPI block which needs that configuration >> to properly output the MIPI DPI signal. >> >> However, on some SoCs the DPI block configuration has to be done >> manually, using an extra register outside the DSS, DPI0_CLK_CTRL in >> MAIN_CTRL_MMR_CFG0 block, which controls the DPI block's behavior. > > Why don't you constrain this properyy per SoC in such case? Why is it > applicable to each SoC, even though you said it is done via DSS IP > registers? Good point. I'll restrict per SoC. >> Currently the DPI0_CLK_CTRL is never written, so it's always 0, meaning >> the data and sync are always driven on a rising clock edge regardless of >> the DSS configuration. >> >> Add 'ti,dpi-io-ctrl' property, which contains phandle to the >> MAIN_CTRL_MMR_CFG0 block and the offset to the DPI0_CLK_CTRL register, >> so that the DSS driver can configure the data and sync signals >> correctly. >> >> Signed-off-by: Tomi Valkeinen >> --- >> .../devicetree/bindings/display/ti/ti,am65x-dss.yaml | 11 +++++++++++ >> 1 file changed, 11 insertions(+) >> >> diff --git a/Documentation/devicetree/bindings/display/ti/ti,am65x-dss.yaml b/Documentation/devicetree/bindings/display/ti/ti,am65x-dss.yaml >> index 588d72d4ec0d..902ae2122d86 100644 >> --- a/Documentation/devicetree/bindings/display/ti/ti,am65x-dss.yaml >> +++ b/Documentation/devicetree/bindings/display/ti/ti,am65x-dss.yaml >> @@ -113,6 +113,17 @@ properties: >> and OLDI_CLK_IO_CTRL registers. This property is needed for OLDI >> interface to work. >> >> + ti,dpi-io-ctrl: >> + $ref: /schemas/types.yaml#/definitions/phandle-array >> + description: >> + phandle to a syscon device node containing the DPI0_CLK_CTRL register, >> + with the offset to DPI0_CLK_CTRL as an argument. >> + maxItems: 1 > > Drop > >> + items: >> + items: > > missing '-'. See other examples of phandle-array, for example one of > the first search results: qcom,ssc-block-bus.yaml Thanks, I'll use that form. Tomi