From patchwork Sat Jun 1 13:52:28 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adam Ford X-Patchwork-Id: 13682429 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 C4B2DC25B7E for ; Sat, 1 Jun 2024 13:53:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=4iNx8HU4UsxIDtnmLmzqW0+G7TCrV37FdD+yeAiV/8E=; b=YAhGAwA8kEjCcg aTZB1ErMRIEtiFCvArsYtuvchC2gsBgJSxEkAMOf1CmI55+/Df2KuMwYW/jJEARxTM+MM+LXj4i66 w2X0fZalMNvc2qvvYtdYZUfZCC7v/8yO0RoWJ2lyLO64GYG6iFPz7s6v6oUKhXDq9IA5KB+0RtjBt 9nOyZJGpkDilBkSwAVbv/lZ7q89J/n3kl18ts2LsMjoH01D4Zw16NsFrsCvSKrsDaq2vfxU8v5t6j POa2NjkK8VIDDTMeYKbkO8H9wLI7bBKuOSrMTCZogLXk7bwKnc2tiQaWsefwPFFW1BGdL7Z6yoN6G leuN9PUzaqLxEAEZIa4g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sDPA2-0000000Civs-2JOM; Sat, 01 Jun 2024 13:52:42 +0000 Received: from mail-io1-xd2f.google.com ([2607:f8b0:4864:20::d2f]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sDP9z-0000000Civ3-24oX for linux-arm-kernel@lists.infradead.org; Sat, 01 Jun 2024 13:52:40 +0000 Received: by mail-io1-xd2f.google.com with SMTP id ca18e2360f4ac-7e9c80adc25so138001839f.3 for ; Sat, 01 Jun 2024 06:52:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1717249957; x=1717854757; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=YSOWAUY88oC5lW5rvGSdvx6UaNHLnsYyAlMhcv2+2no=; b=Bsccac3IOnvg9xIEJgJVutlwr2aykaMr/BaQt6OiumzXRSCEwVyAs16XyK1u+k5eMp vv/7EEdVFCNQxEJC18gIwQYCHAx4LaRBM6jd7mfpsTcwOXMXCYIpYaQJkgzFvkpfNcec VDxQrBnqMObvhdlEuEB305NddRf6o/MOeJ8jd2Ybn9T0qFL6bWBzqq/Cr4cRuahwJMzU PbOJ0x+4nVK3hxBBlbJwml4UzekrrL8CoRJ3Ozvbr4PFdGZU5fAgYJsKApDqlY2JaEdC HBrrflbyRfuKnXyRkRgAEn1qk52CuluKJfNsyz4goSuCWscuOrLYZa3ds2sC0YPkJW5D Ssiw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717249957; x=1717854757; 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=YSOWAUY88oC5lW5rvGSdvx6UaNHLnsYyAlMhcv2+2no=; b=gkxOontrnr60wxMN7+PpHIh0z0z5txfVCo0fkiyJOE/fjzUierXTq09fpDeIBPBgiS Kv6WmusV9z/UhA6kOeYphyTk1LMpUca6xdnHK/6XohTAa5pyfd8bkM4CIo27uBev6BJq KvYqIJEpki0qNhS/VLLZdxyz2dOlrSpZj1nFxGn9KBk8dhk119YY4vw5VUXsPM7KfsEu A8EdDi6Q14x07SuuuVPacUFSUNUs5ffOPLHjqygBhZgvmNPilAkLuQRZM4OzmXW05fMq Hc8/OfIM1BJe5HNMzmogT+XgC7SvGJTt/T49oltCgfy6zJGOa/c6raivsCFJ1TKXxo11 GIlQ== X-Gm-Message-State: AOJu0YyEaCwgeoh9oxlrZCqUdehirbB0fyanm8RGTQGvBBfGmHaH7lc+ tAHPUYxu0IwCNsY6l4bIvaO6qNE4sPWM+mSgFPNY3MG9uHfVKtZBX22Raw== X-Google-Smtp-Source: AGHT+IFu377v3BUIDc9piHIID8NWcbvXfFBcxu9yZ9fDFgRolnum/XAZM3rhhAySVW5+a3c2HcN5tA== X-Received: by 2002:a05:6602:2d88:b0:7ea:fadb:1cd5 with SMTP id ca18e2360f4ac-7eafff2b8e1mr639467839f.18.1717249956993; Sat, 01 Jun 2024 06:52:36 -0700 (PDT) Received: from aford-System-Version.lan ([2601:447:d002:5be:e0b7:c613:ee:e8f3]) by smtp.gmail.com with ESMTPSA id 8926c6da1cb9f-4b56e7824d4sm556349173.172.2024.06.01.06.52.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 01 Jun 2024 06:52:36 -0700 (PDT) From: Adam Ford To: linux-arm-kernel@lists.infradead.org Cc: aford@beaconembedded.com, Adam Ford , Laurent Pinchart , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , devicetree@vger.kernel.org, imx@lists.linux.dev, linux-kernel@vger.kernel.org Subject: [PATCH V3 1/2] arm64: dts: imx8mp-beacon-kit: Enable ADV7535 Hot Plug Detect Date: Sat, 1 Jun 2024 08:52:28 -0500 Message-ID: <20240601135230.89980-1-aford173@gmail.com> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240601_065239_558244_4A25E993 X-CRM114-Status: UNSURE ( 7.56 ) X-CRM114-Notice: Please train this message. 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 The DSI to HDMI bridge supports hot-plug-detect.The driver supports shared GPIO IRQ pins, so it's save to enable them which allows for hot-plug detect. Signed-off-by: Adam Ford Reviewed-by: Laurent Pinchart Reviewed-by: Fabio Estevam --- V3: Update commit message, no functional changes. diff --git a/arch/arm64/boot/dts/freescale/imx8mp-beacon-kit.dts b/arch/arm64/boot/dts/freescale/imx8mp-beacon-kit.dts index e5d3901f2913..da836172ae46 100644 --- a/arch/arm64/boot/dts/freescale/imx8mp-beacon-kit.dts +++ b/arch/arm64/boot/dts/freescale/imx8mp-beacon-kit.dts @@ -304,6 +304,8 @@ adv_bridge: hdmi@3d { compatible = "adi,adv7535"; reg = <0x3d>, <0x3c>, <0x3e>, <0x3f>; reg-names = "main", "cec", "edid", "packet"; + interrupt-parent = <&gpio4>; + interrupts = <27 IRQ_TYPE_EDGE_FALLING>; adi,dsi-lanes = <4>; #sound-dai-cells = <0>; From patchwork Sat Jun 1 13:52:29 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adam Ford X-Patchwork-Id: 13682428 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 BEF94C25B76 for ; Sat, 1 Jun 2024 13:52:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=FH3f0zX76nSSnETJ6qQb6leL7dwAflpXn4DWCxmHv7Q=; b=qFf6w1FrDn8GNO FUHByVGeMFha1cyn4BZtywbmdBktxDopEjwH2FvF+m2rnbGixZS+Cx3SPf2jULE6Moq0xljJvMn7G jrah+NAxshI3Bqnz0wY0rDlCrw3IYi2qAgpGzGrripn9f1CE08o3eW0ScG5Oo5QcjQ1mn/RWyplbJ vd13ZJPoNPxrMx4NLVhm8durzdattWDXxybHK1GGHSmfZV5UhygEMJ8BofdadPuysY1aB+V0l8LI8 /LKpRWk778w0XIuNuD2hXB8ppPaRnR5KjLIGTiwPRugKO/oY6yOx/4URsLEIzvxyu9Bi6kI/nlbRf aVu+/cRqVp+lgeLdnd+w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sDPA3-0000000Civy-0VH4; Sat, 01 Jun 2024 13:52:43 +0000 Received: from mail-il1-x132.google.com ([2607:f8b0:4864:20::132]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sDPA0-0000000CivI-2JSY for linux-arm-kernel@lists.infradead.org; Sat, 01 Jun 2024 13:52:41 +0000 Received: by mail-il1-x132.google.com with SMTP id e9e14a558f8ab-3749253ac5dso1322335ab.1 for ; Sat, 01 Jun 2024 06:52:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1717249958; x=1717854758; darn=lists.infradead.org; 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=RGka72aXhHw6B/ugmJ5D8SFrSBdPwgiFasgjGAhEvSI=; b=DeJp1V4DypuCiLijnn36yloeOjLgBm51A1iygqlzuIYL0JFNftH3ure2LBhzM8+Fac /Xa8LmeU6Aqq+L5YixLIQL/BsS24LfGHRf6GffSQLwsP2rtIb+lR54RLQyqFzQkMtuo9 NPNsHAMkQaWxUc9wp7uaoWf9MaOwzlbWy3e51EclpePrtX5hbjrwTSnWGRh69EORTnQ5 OCtEoCqMiwN2T4gEZru4n/nJ35nnK5k8l69+89ltIlCopAG6tPPj+tIld82NBatTNpVf 2VAKee+snLZQXQP6/ZoNEjlOlf0KCqVoFMbiQ2nhoIGOwyI7uSndmmKr7+1WQfagNriy dygA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717249958; x=1717854758; 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=RGka72aXhHw6B/ugmJ5D8SFrSBdPwgiFasgjGAhEvSI=; b=GMJIfaqXHf4C1/RmqcFl3hqezS2KFYnjyeqyCJ/EkuRVHa/L4cDqkdMaX04MQ+mVR8 QwRbRAkKo4/CC7vTu85Zpt1E+n2ZNmR6SAfAOd9d3/Ws8cQKQLmufaHcC4QsQjsHScAI CxH/cx8X9ccVENtCaPr3XcGX6do5UjV78hdh1PW9H5DPfJJY76rDfa2c0B9jE+tJYrEc QUnSGPYE1TF4hhNmc0qm0ngCX7zWJFugqjbtC0XpOAM+v8CH0O9fZThTsnLrY1YM/Gir WKSmi4rnsBPs8/tAOXBDXBLDo6jteF8U18blTRBA1gcfTUwFmaZVDGuNK83i1/Qk6OMh bGug== X-Gm-Message-State: AOJu0Yy9OneV756sC/B6KHI6fIBoNY5oAhAy2dSOFelimgw3j/b2Z0bb rcBN69XEIvJEGzc/nyq0geikF1KsIxoBHK4rwl1PkYgGEfQmSLI+OCgzqA== X-Google-Smtp-Source: AGHT+IHNarKWZy9HAtQK8XU6dQr4Zrxypy/AD5KjenkEvnfFzfikvYAeTK9czkeEyJLIysD+wU5U3A== X-Received: by 2002:a92:cd8a:0:b0:373:1137:cc1e with SMTP id e9e14a558f8ab-3747e20bf3fmr60551865ab.7.1717249958498; Sat, 01 Jun 2024 06:52:38 -0700 (PDT) Received: from aford-System-Version.lan ([2601:447:d002:5be:e0b7:c613:ee:e8f3]) by smtp.gmail.com with ESMTPSA id 8926c6da1cb9f-4b56e7824d4sm556349173.172.2024.06.01.06.52.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 01 Jun 2024 06:52:37 -0700 (PDT) From: Adam Ford To: linux-arm-kernel@lists.infradead.org Cc: aford@beaconembedded.com, Adam Ford , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , devicetree@vger.kernel.org, imx@lists.linux.dev, linux-kernel@vger.kernel.org Subject: [PATCH V3 2/2] arm64: dts: imx8mp-beacon-kit: Fix errors found from CHECK_DTBS Date: Sat, 1 Jun 2024 08:52:29 -0500 Message-ID: <20240601135230.89980-2-aford173@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240601135230.89980-1-aford173@gmail.com> References: <20240601135230.89980-1-aford173@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240601_065240_611503_AE4F478B X-CRM114-Status: UNSURE ( 8.85 ) X-CRM114-Notice: Please train this message. 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 The adv7535 has some unnecessary entries which can be removed since they were not setup properly anyway and the defaults work just fine. Removing them and adding some required regulators make the errors detected from CHECK_DTBS go away: reg-names:1: 'edid' was expected reg-names:2: 'cec' was expected 'avdd-supply' is a required property 'dvdd-supply' is a required property 'pvdd-supply' is a required property 'a2vdd-supply' is a required property 'v3p3-supply' is a required property Signed-off-by: Adam Ford Reviewed-by: Fabio Estevam --- V2: No Change V3: Update commit message, no functional changes. diff --git a/arch/arm64/boot/dts/freescale/imx8mp-beacon-kit.dts b/arch/arm64/boot/dts/freescale/imx8mp-beacon-kit.dts index da836172ae46..5c4b68c18bb2 100644 --- a/arch/arm64/boot/dts/freescale/imx8mp-beacon-kit.dts +++ b/arch/arm64/boot/dts/freescale/imx8mp-beacon-kit.dts @@ -302,12 +302,19 @@ pca6416_3: gpio@20 { adv_bridge: hdmi@3d { compatible = "adi,adv7535"; - reg = <0x3d>, <0x3c>, <0x3e>, <0x3f>; - reg-names = "main", "cec", "edid", "packet"; + reg = <0x3d>; + reg-names = "main"; interrupt-parent = <&gpio4>; interrupts = <27 IRQ_TYPE_EDGE_FALLING>; adi,dsi-lanes = <4>; #sound-dai-cells = <0>; + avdd-supply = <&buck5>; + dvdd-supply = <&buck5>; + pvdd-supply = <&buck5>; + a2vdd-supply = <&buck5>; + v1p2-supply = <&buck5>; + v3p3-supply = <&buck4>; + ports { #address-cells = <1>;