Received: by 2002:a05:7412:2a91:b0:fc:a2b0:25d7 with SMTP id u17csp446220rdh; Wed, 14 Feb 2024 01:23:19 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVCssQwDHtAQZTvs45LvNfAcNdjIYNY0rbWnwmZrDTNQQa5AM40ygA1co34YwziVBy50WFiqN/gaqlYXx6ZTQJx2cFx/bJtRJZ0S42nxA== X-Google-Smtp-Source: AGHT+IEjdlvs2ZEPcHX8wB4Rlq/gWLu/r2O23QUQdRoUeGv12Z2ZOIYjNGAe1UWNQsjIO6eRLGY4 X-Received: by 2002:a05:6102:b12:b0:46e:ddc6:d19a with SMTP id b18-20020a0561020b1200b0046eddc6d19amr1439895vst.3.1707902599012; Wed, 14 Feb 2024 01:23:19 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707902598; cv=pass; d=google.com; s=arc-20160816; b=r5hXgtD8fNNZfzQ1kRAZrG10cFD/F8e2c0F2QCLngjBlxKDfNdh8o6uHatVWhrxdCy oLCOlhq5/8aNN/eF937BbZvNtP3iaEDCV5vPa3wzXPqsF7jLV4NrmBTpVDfUbX8drWUZ yJRbsKsCDr38ZaJCKbyohXFKAV0dv4vFNMgBqgqj+snhCCLJR1IcKuL2LOsdRpzivdvA dnCaFNu6V0c+/qzVz2mLfvzSuirY30zHjmn0KOsUc8mFeVAz2CFLb4nx7m3fE1Rb7FlO tFqDQSsRI0wWXGTFVePenMbx43h1YDl9mAVpqtC6YTuZ4y/zytRL9OkaaEiv5BwxIUBX 608g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:autocrypt:references:cc:to :from:content-language:subject:user-agent:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:date:message-id :dkim-signature; bh=NoVKciMOSxrBZoo6i1P3qco6Ub7peOTt3GxtcDtngeI=; fh=ZaQcOWighFiKDXn2CTaY3hoq4CbhaYBqP0gUpiBkYXw=; b=ajhQ+uSwPyK6XDWHAf/EDTjJYlr4ViNwL5cB2U9d4GAVo3oRdwcXz6RoHCE6rUcC9L PXO8IDG1Zfx6puULVLhJU6jckRZX3eQZSBMn+v8FUMH1LvBdksm5qC+DjvMey/eTFUh9 6Zq/MEHeF8oOR5PdUHoWBJzzKrkLhTxlT37NaLVWq/De+3kMI+OXqBmzaOoxIOCJpgo8 2+61ccEXZlGLF7QRPrJZPZvksHRN7WRnGO5Nkb4Nr4Gf7T30aArc9oovJb/swmCNgzyI ahqx0vUtZO0RKZkQZFWasDIPhj3jyudQYL4eqmBziEyLQjcU/eUI2XYV1xeDXx/Wuova fu5A==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b=d2oZ0m8B; arc=pass (i=1 spf=pass spfdomain=ideasonboard.com dkim=pass dkdomain=ideasonboard.com); spf=pass (google.com: domain of linux-kernel+bounces-64949-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-64949-linux.lists.archive=gmail.com@vger.kernel.org" X-Forwarded-Encrypted: i=2; AJvYcCX6V5/AHD3mUQ+kwu5CYq0A7+cZj4iYE7vtJDE1D25uVhu8AClSSMkkJf4Zr0TtYdodBElju/SBrzX/FFbidiynxkRk/n82W4UabgbX/w== Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id de44-20020a05620a372c00b00787305a1315si171237qkb.309.2024.02.14.01.23.18 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 14 Feb 2024 01:23:18 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-64949-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b=d2oZ0m8B; arc=pass (i=1 spf=pass spfdomain=ideasonboard.com dkim=pass dkdomain=ideasonboard.com); spf=pass (google.com: domain of linux-kernel+bounces-64949-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-64949-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id B357A1C210A1 for ; Wed, 14 Feb 2024 09:23:18 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4B39212B61; Wed, 14 Feb 2024 09:23:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="d2oZ0m8B" Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [213.167.242.64]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 53A3212E6C; Wed, 14 Feb 2024 09:23:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=213.167.242.64 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707902593; cv=none; b=KICD4oTnS4jrtLYf0DpCKyRg/kWittm1b0Aa9En+x7kzxYgtLkm2ZD74Rc1ViGKVLWqQKx45QKKD7ZMjfOMjQMhDHziVBfW2HK4cO7IM+qBpWtCsSHIEe8ukjb3zsED4xGFAAlDmaTBboOjZSg0GzjkByBdEeGxIyx+NmqO+rRw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707902593; c=relaxed/simple; bh=BzXd7RuiwCTqBRO3TrKhE8xbVkPb0y7sK2NROp8pCZo=; h=Message-ID:Date:MIME-Version:Subject:From:To:Cc:References: In-Reply-To:Content-Type; b=PoJWS+6J0KY8DCafbki9/TAvnwtWoW6ONpDX80lxI1HFGM0nigQ43hgnp313Iu6l1x6lkbI2T4a//XGn0wavQU4LY/25irRWlMx/hPL/HhGL/fQNN881b1Uh/IECsfle/xy4w0qYN2u5X5UuJyNIweh3On95E/ujyFQ6Cd6Q3VY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=ideasonboard.com; spf=pass smtp.mailfrom=ideasonboard.com; dkim=pass (1024-bit key) header.d=ideasonboard.com header.i=@ideasonboard.com header.b=d2oZ0m8B; arc=none smtp.client-ip=213.167.242.64 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=ideasonboard.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ideasonboard.com Received: from [192.168.88.20] (91-154-35-128.elisa-laajakaista.fi [91.154.35.128]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 62DEB673; Wed, 14 Feb 2024 10:23:05 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1707902586; bh=BzXd7RuiwCTqBRO3TrKhE8xbVkPb0y7sK2NROp8pCZo=; h=Date:Subject:From:To:Cc:References:In-Reply-To:From; b=d2oZ0m8Bhk2IB/H2j5z6rKeUnA1tftzalI8uarCo30Bsq4XiRVAv6lFroGxGJIDYb 1ILjo5z1NnlFOC/nFHkXLCuFPyWMMg9PWQXgfy2htLK/ShBui/5FOqIPvfd/r3z7Hh c02gDS7di1d7lTCdSoZ0s6hOWAa7GMGL1HqE1ijg= Message-ID: <839d6de4-b396-4799-8a62-9249727b6dcc@ideasonboard.com> Date: Wed, 14 Feb 2024 11:23:05 +0200 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 1/2] dt-bindings: display: ti,am65x-dss: Add support for common1 region Content-Language: en-US From: Tomi Valkeinen To: Devarsh Thakkar , conor+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, robh+dt@kernel.org Cc: praneeth@ti.com, nm@ti.com, vigneshr@ti.com, a-bhatia1@ti.com, j-luthra@ti.com, kristo@kernel.org, jyri.sarha@iki.fi, airlied@gmail.com, daniel@ffwll.ch, maarten.lankhorst@linux.intel.com, mripard@kernel.org, tzimmermann@suse.de, dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org References: <20240115125716.560363-1-devarsht@ti.com> <20240115125716.560363-2-devarsht@ti.com> Autocrypt: addr=tomi.valkeinen@ideasonboard.com; keydata= xsFNBE6ms0cBEACyizowecZqXfMZtnBniOieTuFdErHAUyxVgtmr0f5ZfIi9Z4l+uUN4Zdw2 wCEZjx3o0Z34diXBaMRJ3rAk9yB90UJAnLtb8A97Oq64DskLF81GCYB2P1i0qrG7UjpASgCA Ru0lVvxsWyIwSfoYoLrazbT1wkWRs8YBkkXQFfL7Mn3ZMoGPcpfwYH9O7bV1NslbmyJzRCMO eYV258gjCcwYlrkyIratlHCek4GrwV8Z9NQcjD5iLzrONjfafrWPwj6yn2RlL0mQEwt1lOvn LnI7QRtB3zxA3yB+FLsT1hx0va6xCHpX3QO2gBsyHCyVafFMrg3c/7IIWkDLngJxFgz6DLiA G4ld1QK/jsYqfP2GIMH1mFdjY+iagG4DqOsjip479HCWAptpNxSOCL6z3qxCU8MCz8iNOtZk DYXQWVscM5qgYSn+fmMM2qN+eoWlnCGVURZZLDjg387S2E1jT/dNTOsM/IqQj+ZROUZuRcF7 0RTtuU5q1HnbRNwy+23xeoSGuwmLQ2UsUk7Q5CnrjYfiPo3wHze8avK95JBoSd+WIRmV3uoO rXCoYOIRlDhg9XJTrbnQ3Ot5zOa0Y9c4IpyAlut6mDtxtKXr4+8OzjSVFww7tIwadTK3wDQv Bus4jxHjS6dz1g2ypT65qnHen6m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lwJl5CpT5l8RpoZXEOVtXYn8zzOJ7oGZYINRV9Pf8qKGLf3Dft7zKBP832I3PQjeok7F yjt+9S+KgSFSHP3Pa4E7lsSdWhSlHYNdG/czhoUkSCN09C0rEK93wxACx3vtxPLjXu6RptBw 3dRq7n+mQChEB1am0BueV1JZaBboIL0AGlSJkm23kw== In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit On 14/02/2024 11:10, Tomi Valkeinen wrote: > Hi, > > On 15/01/2024 14:57, Devarsh Thakkar wrote: >> TI keystone display subsystem present in AM65 and other SoCs such as AM62 >> support two separate register spaces namely "common" and "common1" which >> can be used by two separate hosts to program the display controller as >> described in respective Technical Reference Manuals [1]. >> >> The common1 register space has similar set of configuration registers as >> supported in common register space except the global configuration >> registers which are exclusive to common region. >> >> This adds binding for "common1" register region too as supported by the >> hardware. >> >> [1]: >> AM62x TRM: >> https://www.ti.com/lit/pdf/spruiv7 (Section 14.8.9.1 DSS Registers) >> >> AM65x TRM: >> https://www.ti.com/lit/pdf/spruid7 (Section 12.6.5 DSS Registers) >> >> Signed-off-by: Devarsh Thakkar >> --- >>   .../devicetree/bindings/display/ti/ti,am65x-dss.yaml       | 7 +++++-- >>   1 file changed, 5 insertions(+), 2 deletions(-) >> >> diff --git >> a/Documentation/devicetree/bindings/display/ti/ti,am65x-dss.yaml >> b/Documentation/devicetree/bindings/display/ti/ti,am65x-dss.yaml >> index b6767ef0d24d..55e3e490d0e6 100644 >> --- a/Documentation/devicetree/bindings/display/ti/ti,am65x-dss.yaml >> +++ b/Documentation/devicetree/bindings/display/ti/ti,am65x-dss.yaml >> @@ -37,6 +37,7 @@ properties: >>         - description: OVR2 overlay manager for vp2 >>         - description: VP1 video port 1 >>         - description: VP2 video port 2 >> +      - description: common1 DSS register area >>     reg-names: >>       items: >> @@ -47,6 +48,7 @@ properties: >>         - const: ovr2 >>         - const: vp1 >>         - const: vp2 >> +      - const: common1 >>     clocks: >>       items: >> @@ -147,9 +149,10 @@ examples: >>                       <0x04a07000 0x1000>, /* ovr1 */ >>                       <0x04a08000 0x1000>, /* ovr2 */ >>                       <0x04a0a000 0x1000>, /* vp1 */ >> -                    <0x04a0b000 0x1000>; /* vp2 */ >> +                    <0x04a0b000 0x1000>, /* vp2 */ >> +                    <0x04a01000 0x1000>; /* common1 */ >>               reg-names = "common", "vidl1", "vid", >> -                    "ovr1", "ovr2", "vp1", "vp2"; >> +                    "ovr1", "ovr2", "vp1", "vp2", "common1"; >>               ti,am65x-oldi-io-ctrl = <&dss_oldi_io_ctrl>; >>               power-domains = <&k3_pds 67 TI_SCI_PD_EXCLUSIVE>; >>               clocks =        <&k3_clks 67 1>, > > Looks fine to me, I'll apply to drm-misc-next. Hmm, now thinking about this, doesn't this cause dtb checks to start failing, as the dtbs are missing one entry? Is it better to merge these kind of changes with the dts changes? Or does it matter? Tomi