From patchwork Thu Dec 7 15:58:41 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Estevam X-Patchwork-Id: 13483611 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 46322C10DC3 for ; Thu, 7 Dec 2023 15:59:26 +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=Z5C32gpU+Bg67igRg45AhJmnzTQ0Xnpa/FxVO0hWVAk=; b=XoArkEmoChSnxc p4o4TkEnBz6QgKxofiBGdyusqnIxaAmYHfbqR+tI7Sxq2mOaWsecBO4gidLRYGVFaHnSHk/dcixiX DSTn6z4G7prMhAu8Sldl8ZocHqi3AZXq1QntuZc3GL/DGwXAM9cB4WhVTFWOJn2fKUNk4pSDUErHC hYQrfrn4E0VJGAAO0rcYK5HbEpRBUk8TWSm2X+YcqgunaF1NIFIvqUdP0nonn26vH4RTUU8QnGR3u hc99FWo89ghQFPp+bGAIQ5SdOkpzPRH3wdLkaQqZbvD6RDnK3XrUyk1oNFZMXFOMf58ZuQtvSEPfM bBj3yPnjkOcEjok6ea0Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rBGm7-00DLRI-32; Thu, 07 Dec 2023 15:58:55 +0000 Received: from mail-pf1-x433.google.com ([2607:f8b0:4864:20::433]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rBGm5-00DLQ0-1T for linux-arm-kernel@lists.infradead.org; Thu, 07 Dec 2023 15:58:54 +0000 Received: by mail-pf1-x433.google.com with SMTP id d2e1a72fcca58-6ce6b9f3764so191728b3a.1 for ; Thu, 07 Dec 2023 07:58:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1701964730; x=1702569530; 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=KiHSHKVWAW/q8pkiLn7JSdNe40mumfjMq6USlPdYCns=; b=lYe169LGoj0si7hJDpCAtPsMx2W4GlmYSt007lad1upguPfbkMNdRCcafCLnKPRuZc U+9esKWfbqJgfXl8BEzxvInjQ84fPHT+FsXwYM6jqADKUg30WpNvl/3kAbU4zmjxbmj6 LZ4fl/Rptpjkl3x+A/YIxv7VImcxg/U+R04b3ELtKvc1oNW9zKQuA+071G64SGDiVcaT U08eeVrSf0HhJRW3m99YiWPAs31vtfNt5KV6mhGdUMRPvxjcAPEW7izq8XyVQmUxNafv 5UhuLaCpkHq5Ai8RV3h4ev4kjtMxeyOBCT17tRWp+grJTPCUQJWvVL/Gwm12EojK33uX aIrw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701964730; x=1702569530; 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=KiHSHKVWAW/q8pkiLn7JSdNe40mumfjMq6USlPdYCns=; b=kd7z9hs4S28U2v6fv7L/kmmWV1G8rpI40vAYs6zl62/nVgRlaVeUcEbAMUjhE7LSaR IyrjzcQMLqxccBNQaeFlkDgLH16q8mlsa1wuzjuUpgjuyPZxC46oOU750zckdOvT/JKW sA4LELKMUa/qZtHiq6vuG3Zitfr9K6mvLNGPfr24Y7qCd0iCMZ6nIk2LyEg+/FcgYGG0 QrEbr7ZNNbVCFQNVF3KNxZJTyqL8qrnOJjq/m8P9cxE3r3I6ccfHk4OwvK8KLFwT4f30 /dPX6McatDeuhuaNOd0qtgQWAbr1z4AEk2fiTMI5yP7I3Q2jfmdbgCNOwBsZ4Q2JAqkp 5Fjw== X-Gm-Message-State: AOJu0YxHuDEk1bifsoKV8mIFvHaWX91ujJn78HFmEp7LGWE2REGj/JJR 0+LiCEtCuvYhkNn8pfWCYj6ReR130Wk= X-Google-Smtp-Source: AGHT+IHDv38leaaQ+34TPqfK7xrVECj1u75NRYlaAGjcHojhi3KE67J7LzC96+zQvChfcD32sBXwRA== X-Received: by 2002:a05:6a00:99d:b0:6bc:ff89:a2fc with SMTP id u29-20020a056a00099d00b006bcff89a2fcmr5731243pfg.2.1701964730500; Thu, 07 Dec 2023 07:58:50 -0800 (PST) Received: from fabio-Precision-3551.. ([2804:14c:485:4b61:492a:db3d:eb42:de92]) by smtp.gmail.com with ESMTPSA id z6-20020aa79906000000b006ce3173a7a7sm1542064pff.148.2023.12.07.07.58.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Dec 2023 07:58:50 -0800 (PST) From: Fabio Estevam To: shawnguo@kernel.org Cc: linux-arm-kernel@lists.infradead.org, Fabio Estevam Subject: [PATCH 1/2] arm64: dts: imx8mm-evk: Move port under USB connector Date: Thu, 7 Dec 2023 12:58:41 -0300 Message-Id: <20231207155842.2645290-1-festevam@gmail.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231207_075853_511395_1661B103 X-CRM114-Status: GOOD ( 11.10 ) 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 From: Fabio Estevam Per nxp,ptn5110.yaml, 'port' should be placed under 'connector'. Do as requested to fix the following dt-schema warning: imx8mm-evkb.dtb: tcpc@50: 'port' does not match any of the regexes: 'pinctrl-[0-9]+' from schema $id: http://devicetree.org/schemas/usb/nxp,ptn5110.yaml# Signed-off-by: Fabio Estevam --- arch/arm64/boot/dts/freescale/imx8mm-evk.dtsi | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/arch/arm64/boot/dts/freescale/imx8mm-evk.dtsi b/arch/arm64/boot/dts/freescale/imx8mm-evk.dtsi index a882c86ec313..b53104ed8919 100644 --- a/arch/arm64/boot/dts/freescale/imx8mm-evk.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mm-evk.dtsi @@ -367,12 +367,6 @@ ptn5110: tcpc@50 { interrupts = <11 8>; status = "okay"; - port { - typec1_dr_sw: endpoint { - remote-endpoint = <&usb1_drd_sw>; - }; - }; - typec1_con: connector { compatible = "usb-c-connector"; label = "USB-C"; @@ -384,6 +378,12 @@ typec1_con: connector { PDO_VAR(5000, 20000, 3000)>; op-sink-microwatt = <15000000>; self-powered; + + port { + typec1_dr_sw: endpoint { + remote-endpoint = <&usb1_drd_sw>; + }; + }; }; }; }; From patchwork Thu Dec 7 15:58:42 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Estevam X-Patchwork-Id: 13483612 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 4FF27C10F07 for ; Thu, 7 Dec 2023 15:59:28 +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=CSznDECHIj/Pgj8ijiEeo+hm2f6bg2cXvX6Tm3chU0U=; b=4dLc7YKPATPnpz Hr3LJjvp2ZVJN8pGXqiXXUJruDj+5+270XBHLrb6zxr2CzT3ZpIayoojmvDA0T6QkrtQThyCiICIj BAwW4Z85gpfYTCH7qDqZbLtMRQQ9eUWkH5w7E//NsQ0IEgS9B651gwGNsXiaAJPP8btutL9JQp3J+ 9/UGUxhlt1sJBHAuHuSAUV7vOLTKJ/NuK+f6Knxlys5acKrsk6wkYoR5EoZTcZvE240E0G3Oxw45N 2HKFIhWFK7tapGevLafk54rzZzvf7E4EKgPGlQERnN0o72/X8Q14I7Cvxa6QwKniPxyTVu3O/ZjHv FpK3FZvgc5zyI9R+MmuQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rBGmB-00DLRs-1r; Thu, 07 Dec 2023 15:58:59 +0000 Received: from mail-pf1-x431.google.com ([2607:f8b0:4864:20::431]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rBGm5-00DLQP-2a for linux-arm-kernel@lists.infradead.org; Thu, 07 Dec 2023 15:58:55 +0000 Received: by mail-pf1-x431.google.com with SMTP id d2e1a72fcca58-6ce3281a307so71005b3a.0 for ; Thu, 07 Dec 2023 07:58:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1701964732; x=1702569532; 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=erDL+YXUP6GfvbLD3mOZnNyMFnoho90+iTgSxGPijW4=; b=FcuKYoe329ql+p9sxoYgf3zOJxgrskpqbw3Jz/6vf8YNtODwKIge7XImxJPGgqH4cI 2pr7r6LxgOAQdXRc8B8+wSQmDIGGZ4rqL+UOVvRcX9l7YsGCSha72oSJy+fFajrhsZpb ITEWXNHozocgKEgt0SDcK5LprslegH9WfyRAEgNXkGfe+kxG++GePy1YA/HSgYRJFoH8 l9liGFPmhWNRmGmuigpYI075fVUwl2+PAMO+Mw6dvmJjuOqLc3F/24J6Vew1evQ42chV jt67pEqfTcX8Ys6O33j13I+v/jAslorXpPAW0hjeKfpZpc9p3E5U+3soCpsJvkVm16M5 2vCw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701964732; x=1702569532; 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=erDL+YXUP6GfvbLD3mOZnNyMFnoho90+iTgSxGPijW4=; b=XmI1QTZYdJ1puZLF9DIBEt0GcuFPdqqoxmjRvkxxw7jpuAsH9nMKCEilLsDY3N2APx 4FryDR3lXIYC4q1mjnVYgy/opwZ1K3hZQW+bnB0eY4G6FeX0LzmFJ2nOIwPWCZTskkww RdT+XEdtyoMV/vUcS/xAQEQYrgS1lWuYCs3oy7rfDTVaN1l2vkZ4r8R2aukV/D8zIUFi RfLx7uBufMbgmAA21jFq5o+bx+gXUDZWjNp3V99+pKxP5mFkO2IUT2YsDGzcwv6Bhvfz z9f2pTrIz4/kW8jqDRScdSmbdFvgUT2wQa92x0Va0qKeGM9vUUklnP0CJ5BT47jQRJe3 3UsA== X-Gm-Message-State: AOJu0Yz0+KZoQ2Q2+pquNJibRSvfFfqv6RUWJLhLZVy5S5sXAQy0hOvD Zuqu1gB40Sg5yKew1hIBXjKLTi2OBDc= X-Google-Smtp-Source: AGHT+IEUUTLBWJACod4I3TkSeVt2BjyTrSlVvSjMFi0SOnCv3zaAaIuLfH58EVxZRfFDeDKnKz2W+g== X-Received: by 2002:a05:6a00:2d89:b0:6bc:67ca:671d with SMTP id fb9-20020a056a002d8900b006bc67ca671dmr5611648pfb.1.1701964732265; Thu, 07 Dec 2023 07:58:52 -0800 (PST) Received: from fabio-Precision-3551.. ([2804:14c:485:4b61:492a:db3d:eb42:de92]) by smtp.gmail.com with ESMTPSA id z6-20020aa79906000000b006ce3173a7a7sm1542064pff.148.2023.12.07.07.58.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Dec 2023 07:58:51 -0800 (PST) From: Fabio Estevam To: shawnguo@kernel.org Cc: linux-arm-kernel@lists.infradead.org, Fabio Estevam Subject: [PATCH 2/2] arm64: dts: imx8mn-evk: Move port under USB connector Date: Thu, 7 Dec 2023 12:58:42 -0300 Message-Id: <20231207155842.2645290-2-festevam@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231207155842.2645290-1-festevam@gmail.com> References: <20231207155842.2645290-1-festevam@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231207_075853_834469_3B52B966 X-CRM114-Status: GOOD ( 11.57 ) 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 From: Fabio Estevam Per nxp,ptn5110.yaml, 'port' should be placed under 'connector'. Do as requested to fix the following dt-schema warning: imx8mn-evk.dtb: tcpc@50: 'port' does not match any of the regexes: 'pinctrl-[0-9]+' from schema $id: http://devicetree.org/schemas/usb/nxp,ptn5110.yaml# Signed-off-by: Fabio Estevam --- arch/arm64/boot/dts/freescale/imx8mn-evk.dtsi | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/arch/arm64/boot/dts/freescale/imx8mn-evk.dtsi b/arch/arm64/boot/dts/freescale/imx8mn-evk.dtsi index 3f6a19839c9e..a0e13d3324ed 100644 --- a/arch/arm64/boot/dts/freescale/imx8mn-evk.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mn-evk.dtsi @@ -221,12 +221,6 @@ ptn5110: tcpc@50 { interrupts = <11 IRQ_TYPE_LEVEL_LOW>; status = "okay"; - port { - typec1_dr_sw: endpoint { - remote-endpoint = <&usb1_drd_sw>; - }; - }; - typec1_con: connector { compatible = "usb-c-connector"; label = "USB-C"; @@ -238,6 +232,12 @@ typec1_con: connector { PDO_VAR(5000, 20000, 3000)>; op-sink-microwatt = <15000000>; self-powered; + + port { + typec1_dr_sw: endpoint { + remote-endpoint = <&usb1_drd_sw>; + }; + }; }; }; };