From patchwork Tue Oct 29 19:16:38 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Estevam X-Patchwork-Id: 13855323 Received: from mail-pl1-f175.google.com (mail-pl1-f175.google.com [209.85.214.175]) (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 0A8422040BB for ; Tue, 29 Oct 2024 19:16:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.175 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1730229409; cv=none; b=kMIfEZT3BKE5z72WrZd9dMroGMgYAE54qAhwUjk1Nrpt3sW+/6OcSdRDlgP4mMimkd0HWzytDfw+KFpDNUfiTus7/rzBSvRTCs4J7sAni7ZEUc6vs21dh5QvRrRJW3Xb/TDq1uQbX4nBvfZbjxkmB1BGv98bHWX784UlZPkTvMc= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1730229409; c=relaxed/simple; bh=CHgcuFeC0qfAvMlVioIsx9CNUcHO1RyImg+Jv/lsX5E=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=P/dxZKfmHJap+jli5r7TWtk1/2nreDA1AV/OMdhWGZey4cOgWm8SboFiDLyPZBs0elIqLuh6+0nayMQz7gyVX+b1p5d1v2v1YOFQqWIdGb9hyvlGuuEd0PUnUAmSxIzYX4sUlgaI9A1Iryal4b+Hqz8j6tpx12zNdYHEw08pUzQ= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=FQ9FURvz; arc=none smtp.client-ip=209.85.214.175 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="FQ9FURvz" Received: by mail-pl1-f175.google.com with SMTP id d9443c01a7336-20c693b68f5so63411635ad.1 for ; Tue, 29 Oct 2024 12:16:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1730229407; x=1730834207; darn=lists.linux.dev; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=HYm6/tVCLa0IRn8QK44VqcJkbGs60MVOw3b3ZJUZb70=; b=FQ9FURvzGGBIaRPLXykGyWQFNE+OZcsvZVRXAE4ZUlzEb6cFqlJlfRMa4i9hBYWlrR eSfKsPdJr2WyjhH4otAEYRIwT7bGIRYsdo4D+PoPTe4kMo3NSfd23iwdyr1XILQwMYjR IW18PHJrBJoRLDe4D8yefSiklPGm58gkkLuLAVKNdON2iV8tHdoZqsSi9qCWFwoWacYg yG/vKUMNY40vVSwrMDuoJBXLkkTU0HEOpW2BPA1H8bqVFq1j9evyqgs3CjyCwEOYBZBu 6+zXbEVrQEmbPGaFPt50Hfi53jerTfKS0pRRJZq7LedeDDs/knH/7gSzSRkgHXepiW09 O04g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1730229407; x=1730834207; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=HYm6/tVCLa0IRn8QK44VqcJkbGs60MVOw3b3ZJUZb70=; b=SvKguzMsp885UTqBTs8J3/7z7y0g1kA/slEN3Ivccg2Roj1AR80uAUBFV+2M2FkcaK lcX49new2GU+LKN0zBRhsrzX6X/1aAd+wYOzsLWWRUz6EMaJJd5DC9GYXhnazNQa59cb sNjjQk89ueYswARNP94jjao1sQwHBpOBsf7YbPRaz43TzYs+ig81dPUh2CPNVLOZFetA 3P6aFZlBz6r6kEP0wqEpSZuHkfQfXvVzT92/BOMFwPvJkXShh7+/KJxhYlEXwAvRv1NM UkEM/ufvIcuYvq2TgSb/1qiF6fDjje7XhgBk0e45roJB7ZSO+CAm4gbz1cKU7573iBmj P5jw== X-Forwarded-Encrypted: i=1; AJvYcCWHDnysFvoby6+nonz7sh9HJ1nbfaho70kFmh5/CjS+m4SKxn8dHD2K680mNfUi3SpUGaA=@lists.linux.dev X-Gm-Message-State: AOJu0Yznz5wLfB0iXjJXXL/X3LHQnu1I1t4yjv+AaZBN/KoMSNvywyCq gAmh6GRm3n3HEeTnbJzOrZ5GxIyKN0bRVVGwOScEvfbzAnjBA5QH X-Google-Smtp-Source: AGHT+IFflxdhOOdhlw0WMMCci3BlMlyqQZ2ZA9xv59ogXANUwG9RzYtz7JlPEFXLPDfj8fEW5WQ+0w== X-Received: by 2002:a17:902:f686:b0:20b:8ef3:67a with SMTP id d9443c01a7336-210c68744a1mr195187515ad.7.1730229407280; Tue, 29 Oct 2024 12:16:47 -0700 (PDT) Received: from fabio-Precision-3551.. ([2804:14c:485:4b61:190a:1425:254d:1e7a]) by smtp.gmail.com with ESMTPSA id 41be03b00d2f7-7edc8661061sm7842346a12.17.2024.10.29.12.16.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 29 Oct 2024 12:16:46 -0700 (PDT) From: Fabio Estevam To: shawnguo@kernel.org Cc: marex@denx.de, a.fatoum@pengutronix.de, andreas@kemnade.info, kernel@pengutronix.de, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, devicetree@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, dri-devel@lists.freedesktop.org, Fabio Estevam Subject: [PATCH v3 1/3] dt-bindings: lcdif: Document a imx6sx-lcdif fallback Date: Tue, 29 Oct 2024 16:16:38 -0300 Message-Id: <20241029191640.379315-1-festevam@gmail.com> X-Mailer: git-send-email 2.34.1 Precedence: bulk X-Mailing-List: imx@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 From: Fabio Estevam imx6sx.dtsi has the following lcdif entries: compatible = "fsl,imx6sx-lcdif", "fsl,imx28-lcdif"; This causes the following dt-schema warning: ['fsl,imx6sx-lcdif', 'fsl,imx28-lcdif'] is too long To keep DT compatibility, document 'fsl,imx28-lcdif' as a possible 'fsl,imx6sx-lcdif' fallback. Signed-off-by: Fabio Estevam --- Changes since v2: - Only document fsl,imx6sx-lcdif with a fallback. Documentation/devicetree/bindings/display/fsl,lcdif.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/display/fsl,lcdif.yaml b/Documentation/devicetree/bindings/display/fsl,lcdif.yaml index 8e3a98aeec32..ad0cca562463 100644 --- a/Documentation/devicetree/bindings/display/fsl,lcdif.yaml +++ b/Documentation/devicetree/bindings/display/fsl,lcdif.yaml @@ -19,7 +19,6 @@ properties: - enum: - fsl,imx23-lcdif - fsl,imx28-lcdif - - fsl,imx6sx-lcdif - fsl,imx8mp-lcdif - fsl,imx93-lcdif - items: @@ -32,6 +31,10 @@ properties: - fsl,imx8mn-lcdif - fsl,imx8mq-lcdif - const: fsl,imx6sx-lcdif + - items: + - enum: + - fsl,imx6sx-lcdif + - const: fsl,imx28-lcdif reg: maxItems: 1 From patchwork Tue Oct 29 19:16:39 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Estevam X-Patchwork-Id: 13855324 Received: from mail-pg1-f179.google.com (mail-pg1-f179.google.com [209.85.215.179]) (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 308052076A7 for ; Tue, 29 Oct 2024 19:16:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.215.179 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1730229414; cv=none; b=pgYLtuS43g3M7eGZ2Y1iMj9RhjLKZwMlCPnPVFeqooIHOrvoULxKqGP3ypLgCj5gRj4ZXOsa0L0Ye6COAdOoV8DKyKPuRv0dJb34nyP59RncuGRx6nIBwoUcjQv+9snWbMU13zaYspNkyaUOYTys+FtCqaceeh1mOvBfkstHSE0= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1730229414; c=relaxed/simple; bh=gUJIZGPrG1eoF8g+IJQZdm5bRftguLy/j6J6cRJX5ZA=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=uVs4bFrUPbpLqaIRlK8kCycJAE7OzYrva7S2Xp4UgLQQk1AMWFipnv98P+ZNzMyn/oPHT8ObKwolrUvVcEAas9wC0XqvTMQnaTZELyDKM01WnOjuZf5EV4Iicq9mbvP31LWmNXbtLG2eIFZFCNPkFjEzWufCdE+DHmQYbqRdC3U= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=J9U+w9dL; arc=none smtp.client-ip=209.85.215.179 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="J9U+w9dL" Received: by mail-pg1-f179.google.com with SMTP id 41be03b00d2f7-7ea68af2f62so4648884a12.3 for ; Tue, 29 Oct 2024 12:16:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1730229411; x=1730834211; darn=lists.linux.dev; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=Go75F5WGin7Ix/MZ1KEJuNCfk0dx2TFxpmOXy5zXdWs=; b=J9U+w9dLLaaEkJge/vupokjfVWvMWHsXn9SVDbMw+NzNHV1Pq3sVBT4y7uPGTyVqvm WmDXTaLdAFiumszCkd1+ICGxPStcLbacmGb2bt3Ib72D8+znbQe5JL/Wx4bg71OLy3sA Xfs5zKOAfZqwUBbGN7BFYP/g7ptF2NlroY8ml2QcszYLyr3cyKoWZuE11VwcWCF6FWdR iqbM6+RWdA5JJug9Uuo/RKn9ljB0TWIqyt7MWqR2b1F82PzRv9B/96cnIEDTIKDLjRCq BQsVBYHsI0uGWj1J3zRYJS4yicEpwMefl23W20eS8335wc5WZbS5Oo8fI/hAY2HLgFb6 tM4w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1730229411; x=1730834211; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Go75F5WGin7Ix/MZ1KEJuNCfk0dx2TFxpmOXy5zXdWs=; b=lPM7Ruqj+BsbFLxU7E+42Hj0iDegy4Q6radoS2m9Kf7BhBavxdKmjQ7kkYmzkJAUxo HfcYnUR8Bg+Eo5FAzQ7H4OFJOHgmWQ3zYAi3nnmXSO5NrmsPAe+yAAsDSAMWaSQUgZwp TSZeLRZHChuyxZ+zZFWFMuzzbkb2pd1/wBuuZK9h40f3yuoUPfxNpk5SO3Wubf+iPCnq ZLSlbaTv9R2K/6IJh1500PGrXMKLA1athY4gK5oAASY7r/jX25M+OGAhhNTSpe1QOzzz 4jlnJYiQgDrkbDVueqeduuUebmaceqOv+k28WSiDtAk4QvkCJRQpEm/ZgV4HC4jTl5Y/ nw0g== X-Forwarded-Encrypted: i=1; AJvYcCU1xPv/x3ROgIj7SNi6E2usEy9C4BToOnhxZtH16yQr4eMkmVv5VFH6Pw7GPF3Cp4moG+g=@lists.linux.dev X-Gm-Message-State: AOJu0YwU8+F61gMiiH95k3h/oyIxFc9FKm8nlJ8VAdK/yGYRWSnNf5el b7NAC/Y0/LdEPzQ3ZfaWn51q4NmAkZy9ZsZ1/4xhhoTlzkKYpD3b X-Google-Smtp-Source: AGHT+IFenngeaT6t8iIEBhKoMZoPByKBmWfPEehMYTOwuzAHWbQ1Z6ZF1XwcmALtKo2mLUrDVAj/Zw== X-Received: by 2002:a05:6a21:3a41:b0:1d9:237a:2d56 with SMTP id adf61e73a8af0-1d9a8512cedmr15070567637.48.1730229411268; Tue, 29 Oct 2024 12:16:51 -0700 (PDT) Received: from fabio-Precision-3551.. ([2804:14c:485:4b61:190a:1425:254d:1e7a]) by smtp.gmail.com with ESMTPSA id 41be03b00d2f7-7edc8661061sm7842346a12.17.2024.10.29.12.16.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 29 Oct 2024 12:16:50 -0700 (PDT) From: Fabio Estevam To: shawnguo@kernel.org Cc: marex@denx.de, a.fatoum@pengutronix.de, andreas@kemnade.info, kernel@pengutronix.de, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, devicetree@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, dri-devel@lists.freedesktop.org, Fabio Estevam Subject: [PATCH v3 2/3] dt-bindings: lcdif: Expand the imx6sl/imx6sll fallbacks Date: Tue, 29 Oct 2024 16:16:39 -0300 Message-Id: <20241029191640.379315-2-festevam@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20241029191640.379315-1-festevam@gmail.com> References: <20241029191640.379315-1-festevam@gmail.com> Precedence: bulk X-Mailing-List: imx@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 From: Fabio Estevam mx6sl.dtsi and imx6sll.dtsi have the following lcdif entries: compatible = "fsl,imx6sl-lcdif", "fsl,imx28-lcdif"; This causes dt-schema warnings as the current binding only allow 'fsl,imx6sx-lcdif' as fallback. ['fsl,imx6sl-lcdif', 'fsl,imx28-lcdif'] is too long ['fsl,imx6sll-lcdif', 'fsl,imx28-lcdif'] is too long The imx6sx-lcdif programming model has more advanced features, such as overlay plane and the CRC32 support than the imx28-lcdif IP. Expand the imx6sl/imx6sll lcdif fallbacks to accept a less specific fsl,imx28-lcdif fallback: compatible = "fsl,imx6sl-lcdif", "fsl,imx6sx-lcdif", "fsl,imx28-lcdif"; This helps keeping DT compatibility as well as using the more advanced lcdif features found on imx6sl and imx6sll. Signed-off-by: Fabio Estevam --- Changes since v2: - Make the three compatible entres the only valid combination for imx6sl and imx6sll (Andreas). Documentation/devicetree/bindings/display/fsl,lcdif.yaml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/display/fsl,lcdif.yaml b/Documentation/devicetree/bindings/display/fsl,lcdif.yaml index ad0cca562463..72e509bc975b 100644 --- a/Documentation/devicetree/bindings/display/fsl,lcdif.yaml +++ b/Documentation/devicetree/bindings/display/fsl,lcdif.yaml @@ -23,14 +23,18 @@ properties: - fsl,imx93-lcdif - items: - enum: - - fsl,imx6sl-lcdif - - fsl,imx6sll-lcdif - fsl,imx6ul-lcdif - fsl,imx7d-lcdif - fsl,imx8mm-lcdif - fsl,imx8mn-lcdif - fsl,imx8mq-lcdif - const: fsl,imx6sx-lcdif + - items: + - enum: + - fsl,imx6sl-lcdif + - fsl,imx6sll-lcdif + - const: fsl,imx6sx-lcdif + - const: fsl,imx28-lcdif - items: - enum: - fsl,imx6sx-lcdif From patchwork Tue Oct 29 19:16:40 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Estevam X-Patchwork-Id: 13855325 Received: from mail-pg1-f177.google.com (mail-pg1-f177.google.com [209.85.215.177]) (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 28A69207203 for ; Tue, 29 Oct 2024 19:16:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.215.177 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1730229418; cv=none; b=ke4mS6Yo1ML6xHu37KG3+XG7EPSYIQrhwQYjHjPFJa6X7gQjroLkzNVmq6YOsfyA+niZNgGf5b63sr1AVm0cTcboZYscKshzheDiE5UJepgwSjt6/KyMS/sa8IzyvrsMl3kcvB6Pg2cIlVlJaB0Zzn51LszIEyk2MFPVAXDCAAM= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1730229418; c=relaxed/simple; bh=cgnkI4FnhVgTOOOFoFrXelz+SmIgd2L/bkdD960A0So=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=nBs68OHWu/LHtAaOWRPIbOfrgDIKrR/cmmNvuW2iyvbYelw8Bmux8KxEQEOYGt3cRhAknT4Kca8xb8SoGp6C73JBxzKz9CFZMYPqffrPsLU5Em1E8jhmQt07feHAFuXPj6VP5Rm5reSvkX8a9hMeOzSyjD9P3BSViFhZuuFrVBA= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=IyqKPnyY; arc=none smtp.client-ip=209.85.215.177 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="IyqKPnyY" Received: by mail-pg1-f177.google.com with SMTP id 41be03b00d2f7-7e6ed072cdaso4180949a12.0 for ; Tue, 29 Oct 2024 12:16:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1730229415; x=1730834215; darn=lists.linux.dev; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=zYKmKtE2fVCas74ElHJ9fhZLrtmW93dELAHBPhCA8b0=; b=IyqKPnyYmg92gERE6uq8aLFKpSAa9ifKL5Y9SWRiVctdlOe37qLGLglt856+xVvAUe 1sfzEQMeigpJjA6CYuYzv9pJ6xMQHwOHHXtsx22W4dTlQF0haJpG/R7WY+SHfYU4VOAc YDQ1mINm0KM1ksSUo719TySlqZHQtmooKHeXXGDNqFQVmni8vKzUQQcDF622X4O+7txs 0MuQHUjpxY1/jj1v8n65LsFiZ034isPhEtJTLcTK6S9d4VHJQCmrR01F9+MjVR0NSecm FjrGldxfFKDtDPFf3k5tHxiUZEWqyi+g6b7mjcBsVFg2J/k/fP9bY9dTLYjBrwM2wlK0 eJdA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1730229415; x=1730834215; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=zYKmKtE2fVCas74ElHJ9fhZLrtmW93dELAHBPhCA8b0=; b=ofVouQLjUPRcoYCe/aUQ8S09x2D8qwm4jEVMJ6a4hPMqx59HiPn5IHxlTsKv1gyMus fovfcvu656Qt9CzP2qr51i0BCvXlsl7AKCpAJSVNrAtR1ons6KazP1OqQVfbs/pIT/oq W8Jq6LYGWEv5KDi9IjY39lbjm9fxuanKQS+6BZh9iViDZ/gPOvkS0r2mFHCLlPI5zFCt 6kEeU4FKh1AA/mpct7H9OXiLVGDOcS3+MFE2hcDN3vNBBo9RrMVE5ydZeqcMpncPYCl+ C3iM8fmAaCmUego5+dlrQ+JaFF9/IsbVKbl26ly96Yl1VJjvWmqJbLiQDxdPBUP4r4J/ kD6A== X-Forwarded-Encrypted: i=1; AJvYcCWduj+S/iqAJz/reITeWG7CzYg2qs4juw/uZltFqYz0+DF6VbyW9L5uafmTMCZ0Z4jmzVk=@lists.linux.dev X-Gm-Message-State: AOJu0Yzs6dqmq8OJ/yQ/E9k3k9NDLk6WH9wTmYS7pzcn/VvD7V5HyQUC axspd2v2A6surVDqJwc44/6J+cCDDm4PmDKaEOKpSYYpuEP41CDm X-Google-Smtp-Source: AGHT+IFTWq5E2+C67K9DtUnmc5ZutA88kE0YA5e/SigUzJXK7DIsERXz99OcPpiFqA+Gv4FpUe17bA== X-Received: by 2002:a05:6a21:58b:b0:1d9:762a:98ba with SMTP id adf61e73a8af0-1d9a83c9c31mr17108740637.16.1730229415320; Tue, 29 Oct 2024 12:16:55 -0700 (PDT) Received: from fabio-Precision-3551.. ([2804:14c:485:4b61:190a:1425:254d:1e7a]) by smtp.gmail.com with ESMTPSA id 41be03b00d2f7-7edc8661061sm7842346a12.17.2024.10.29.12.16.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 29 Oct 2024 12:16:54 -0700 (PDT) From: Fabio Estevam To: shawnguo@kernel.org Cc: marex@denx.de, a.fatoum@pengutronix.de, andreas@kemnade.info, kernel@pengutronix.de, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, devicetree@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, dri-devel@lists.freedesktop.org, Fabio Estevam Subject: [PATCH v3 3/3] ARM: dts: imx6sl: Provide a more specific lcdif compatible Date: Tue, 29 Oct 2024 16:16:40 -0300 Message-Id: <20241029191640.379315-3-festevam@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20241029191640.379315-1-festevam@gmail.com> References: <20241029191640.379315-1-festevam@gmail.com> Precedence: bulk X-Mailing-List: imx@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 From: Fabio Estevam The LCDIF IP on i.MX6SL and i.MX6SLL is compatible with i.MX6SX. Provide a more specific "fsl,imx6sx-lcdif" compatible and still keep "fsl,imx28-lcdif" for DT compatibility. Signed-off-by: Fabio Estevam --- Changes since v2: - None. arch/arm/boot/dts/nxp/imx/imx6sl.dtsi | 3 ++- arch/arm/boot/dts/nxp/imx/imx6sll.dtsi | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/nxp/imx/imx6sl.dtsi b/arch/arm/boot/dts/nxp/imx/imx6sl.dtsi index 6aa61235e39e..840e19b2ca0f 100644 --- a/arch/arm/boot/dts/nxp/imx/imx6sl.dtsi +++ b/arch/arm/boot/dts/nxp/imx/imx6sl.dtsi @@ -773,7 +773,8 @@ epdc: epdc@20f4000 { }; lcdif: lcdif@20f8000 { - compatible = "fsl,imx6sl-lcdif", "fsl,imx28-lcdif"; + compatible = "fsl,imx6sl-lcdif", "fsl,imx6sx-lcdif", + "fsl,imx28-lcdif"; reg = <0x020f8000 0x4000>; interrupts = <0 39 IRQ_TYPE_LEVEL_HIGH>; clocks = <&clks IMX6SL_CLK_LCDIF_PIX>, diff --git a/arch/arm/boot/dts/nxp/imx/imx6sll.dtsi b/arch/arm/boot/dts/nxp/imx/imx6sll.dtsi index 85fe2a4ab97a..eff83f5e5535 100644 --- a/arch/arm/boot/dts/nxp/imx/imx6sll.dtsi +++ b/arch/arm/boot/dts/nxp/imx/imx6sll.dtsi @@ -648,7 +648,8 @@ pxp: pxp@20f0000 { }; lcdif: lcd-controller@20f8000 { - compatible = "fsl,imx6sll-lcdif", "fsl,imx28-lcdif"; + compatible = "fsl,imx6sll-lcdif", "fsl,imx6sx-lcdif", + "fsl,imx28-lcdif"; reg = <0x020f8000 0x4000>; interrupts = ; clocks = <&clks IMX6SLL_CLK_LCDIF_PIX>,