Received: by 2002:a05:7412:d1aa:b0:fc:a2b0:25d7 with SMTP id ba42csp1216037rdb; Tue, 30 Jan 2024 11:13:06 -0800 (PST) X-Google-Smtp-Source: AGHT+IGwb5PnkCCBHYiApwKCIKQGdBl9j12mNj+SOCL2Q+TCxKuseozAymb3dOdcfuzB3eafEMiT X-Received: by 2002:a17:906:e52:b0:a35:8596:cdc7 with SMTP id q18-20020a1709060e5200b00a358596cdc7mr5981145eji.31.1706641986791; Tue, 30 Jan 2024 11:13:06 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706641986; cv=pass; d=google.com; s=arc-20160816; b=YXyfzyQfreylynzLmtq8aLgV+ZORHLSyr4hqXYOUFVf5zGLZ/y6E+KFQ7sSsbgPjzh leAfWGozGz0O0xTPXjEwyV7cRg89z+O1ZIYdFwMLUuV3zQCvwrgS+8kxCBWbSx92YC8k dFUfHBqRsMRFFB8m9l9IWAjxxh4AuDYLTA+Kkjwpg11J+9X8rkQW6QnBTaueOt/hXhYE ZxIw62Cd70UI4wTGIpZiWFpwrBcIYJLGs3nGbLD1ZTDefzxnJ3ablT8XjJm61mVMiYFx ftyMVf3YIaR1+/ohnFfOzirs7v0q51yfPWF/IbzhnWlJkTueFOp9FOezEuSVQM7O6440 ZBlw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=VEHSA8c2gF1D1Og6k3JUl2i/rXmOEt1dtV6lS6PJH+A=; fh=zSoK2hp9hj1SoG6NR7rHwy8fHstJbnUcgvsbb5HCDCc=; b=h1gawpCuQAt43lrb6yMEpFbgU3BWUdPVGi1ZSxOZ58Em7fP/dnYBI9PdN5+1V4Ut/S nnJIIqhmR5AhLHx0pNRY/XCQM4us8pVZBPM2bhYdXKGiZ6JroNzjraHpa5TD0gllX50e 09/CEtCjEokski98RO6dsQ2Z9yppldM3cn053n/6Q5kBiC0FBlcnH49B2SfiqezdWd2x PzRDdnhVUpuF2F3aedcARRzgoYbxC+s9JU/3LJ8PyTSpyta8ALgZrIP595oHX0JSARK4 DZp6fnZ4YlQ3Bapswjn1si5cLGaUY5VV3/knHwR+pD0JoqwhvFcHLC7l7lgz/pGOlaXT iIZg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=HEcaIkvC; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-45174-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-45174-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id v19-20020a1709063bd300b00a3655fd076esi221306ejf.564.2024.01.30.11.13.06 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Jan 2024 11:13:06 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-45174-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=HEcaIkvC; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-45174-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-45174-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=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 am.mirrors.kernel.org (Postfix) with ESMTPS id 85CCC1F217FA for ; Tue, 30 Jan 2024 19:13:06 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7F2407AE56; Tue, 30 Jan 2024 19:12:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="HEcaIkvC" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 9B8A27AE45; Tue, 30 Jan 2024 19:12:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706641978; cv=none; b=Lvrvl7glBGV4J0I+Joony2D2+bi+3wPE6SeajzGOZTW3X/bMZaZsf6w2Jw+8rvvlFxah4SWaconVmSDpEXo8AaRYzD53N3V72ty/AOGILhNL37HLsTdUBZ9LOw6mPfH5ZVSjQl5fryXDE9uezPm24SsFmw01m4bJpJv/R3i5PgI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706641978; c=relaxed/simple; bh=nEH6/Gsz/g0ZkEX+gtrP7lVR/DRDDEnivsf7uhE+Q3g=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=urpFEXcIGBgvqlBME77JDwC4i+YDuu8QFcCbzllBkcf+aZ+a7A8jZMHsSVuESrLybqp0m/EnnK+RkCpDWKAd0VKKmcFBP8PP/b4duqDLlOHANSvsKhfuywBIe36mMsZ82RlzeoGgsMtnDWrQ1sQcQvlKCpn98aMOzdOSwBLrqUg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=HEcaIkvC; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id F3008C433F1; Tue, 30 Jan 2024 19:12:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1706641978; bh=nEH6/Gsz/g0ZkEX+gtrP7lVR/DRDDEnivsf7uhE+Q3g=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=HEcaIkvCbfbc6JFGId2VCmGC1tw1Hh6yB4i9KzHCCy53Ki1Lg/77lQY5WqUOwCrKf 2Gzm+RmhcKoFO1A0uQ/mMkjhErF5N/5db2CBJptWzB2nRNMSZM6ZqKCX973Bmci/Vx ijTfGoJ4HWZBwH04NR7+F8dDlKmsT47vaJjG31gl3R1VHm9AU9ANbIyHDH/I0Ehq5a WFXyFHHw6yXPUrQp/O0pD/h+SbWqVmWjhREwqg7WprbvZXHV4991vODsjdjBEc5sQL J6K7nzcD7/XNlQ2NZ4a9AmHrz3RvdfjmP8gkFcmuMqBh9d4k74w+FEvjAr7mNrV2gP lGESch3GpRfLA== Date: Tue, 30 Jan 2024 13:12:55 -0600 From: Rob Herring To: Dharma.B@microchip.com Cc: conor@kernel.org, krzk@kernel.org, Manikandan.M@microchip.com, andrzej.hajda@intel.com, neil.armstrong@linaro.org, rfoss@kernel.org, Laurent.pinchart@ideasonboard.com, jonas@kwiboo.se, jernej.skrabec@gmail.com, airlied@gmail.com, daniel@ffwll.ch, maarten.lankhorst@linux.intel.com, mripard@kernel.org, tzimmermann@suse.de, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Linux4Microchip@microchip.com Subject: Re: [PATCH 1/3] dt-bindings: display: bridge: add sam9x7-lvds compatible Message-ID: <20240130191255.GA2164257-robh@kernel.org> References: <20240122082947.21645-1-dharma.b@microchip.com> <20240122082947.21645-2-dharma.b@microchip.com> <10a88fc6-2c4c-4f77-850f-f15b21a8ed49@kernel.org> <20240122-privacy-preschool-27dc7dcc5529@spud> <01c4fc05-9b3f-4007-9216-444a4306efd7@microchip.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <01c4fc05-9b3f-4007-9216-444a4306efd7@microchip.com> On Tue, Jan 23, 2024 at 03:39:13AM +0000, Dharma.B@microchip.com wrote: > Hi Conor, > > On 22/01/24 10:07 pm, Conor Dooley wrote: > > On Mon, Jan 22, 2024 at 04:51:16PM +0100, Krzysztof Kozlowski wrote: > >> On 22/01/2024 09:29, Dharma Balasubiramani wrote: > >>> Add the 'sam9x7-lvds' compatible binding, which describes the > >>> Low Voltage Differential Signaling (LVDS) Controller found on Microchip's > >>> sam9x7 series System-on-Chip (SoC) devices. This binding will be used to > >>> define the properties and configuration for the LVDS Controller in DT. > >>> > >>> Signed-off-by: Dharma Balasubiramani > >>> --- > >>> .../display/bridge/microchip,sam9x7-lvds.yaml | 59 +++++++++++++++++++ > >>> 1 file changed, 59 insertions(+) > >>> create mode 100644 Documentation/devicetree/bindings/display/bridge/microchip,sam9x7-lvds.yaml > >>> > >>> diff --git a/Documentation/devicetree/bindings/display/bridge/microchip,sam9x7-lvds.yaml b/Documentation/devicetree/bindings/display/bridge/microchip,sam9x7-lvds.yaml > >>> new file mode 100644 > >>> index 000000000000..8c2c5b858c85 > >>> --- /dev/null > >>> +++ b/Documentation/devicetree/bindings/display/bridge/microchip,sam9x7-lvds.yaml > >>> @@ -0,0 +1,59 @@ > >>> +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > >>> +%YAML 1.2 > >>> +--- > >>> +$id:http://devicetree.org/schemas/display/bridge/microchip,sam9x7-lvds.yaml# > >>> +$schema:http://devicetree.org/meta-schemas/core.yaml# > >>> + > >>> +title: Microchip SAM9X7 LVDS Controller > >> What is the "X"? > >> > >>> + > >>> +maintainers: > >>> + - Dharma Balasubiramani > >>> + > >>> +description: | > >> Do not need '|' unless you need to preserve formatting. > >> > >>> + The Low Voltage Differential Signaling Controller (LVDSC) manages data > >>> + format conversion from the LCD Controller internal DPI bus to OpenLDI > >>> + LVDS output signals. LVDSC functions include bit mapping, balanced mode > >>> + management, and serializer. > >>> + > >>> +properties: > >>> + compatible: > >>> + const: microchip,sam9x7-lvds > >> What is "x"? Wildcard? Then no, don't use it and instead use proper SoC > >> version number. > > These SoCs actually do have an x in their name. However, and I do always > > get confused here, the sam9x7 is a series of SoCs (the cover letter does > > say this) rather than a specific device. > > I think the series current consists of a sam9x70 sam9x72 and a sam9x75. > > The devices are largely similar, but I am not sure if the sam9x70 > > supports LVDS at all. Having a compatible for the series does not seem > > correct to me. > Yes, you are correct. Only sam9x72 and sam9x75 have LVDS support, while > sam9x70 does not. I will revise the compatibility to include both > sam9x72 and sam9x75, as outlined below: > > properties: > compatible: > enum: > - microchip,sam9x72-lvds > - microchip,sam9x75-lvds I would presume these 2 are the same, but the above implies they aren't. I think what you had is fine assuming these are all fundamentally the same part with just packaging or fused off h/w differences. Rob