From patchwork Thu Dec 14 09:16:53 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Estevam X-Patchwork-Id: 13492646 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 69E7AC4332F for ; Thu, 14 Dec 2023 09:17:46 +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=1QZBGpWB1EdDOk9BK/24gsqFrmvGVoKWLl+tNCXBA7M=; b=gB9gogfRm1oshz ITnN/jGCc8FG8i0YEGNuQpTtjEByNmBboo3PVaDY86b+1RH+xa0+x+QLV42M/IJBGG96nhcMx4yhu tGjfMiSK7ZWHH7pG8/EzWwMSyAIZ6q1qCGArtYm/2MXYNfcx/HBwi8ReU0DkUSWMbB14mmWEytZvo eGlSbLg4eU4v/Gkpa4UM7gLMKlxB5Lk9mPUIOymLk5NJonb/q7s6/aJIwNRZfPJoNh4CN04IZufVz 3a1mD/3XTzDBGhp4m3tfmU6znOdq3S6aBWnAR2KYqKP4BsD6aycpJdXNpcYgv6K7Vc0u90uYAhnwE HMtZdWwIU1BgMfzttMxA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rDhqA-00HK2z-2l; Thu, 14 Dec 2023 09:17:10 +0000 Received: from mail-pg1-x536.google.com ([2607:f8b0:4864:20::536]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rDhq8-00HK2X-1v for linux-arm-kernel@lists.infradead.org; Thu, 14 Dec 2023 09:17:10 +0000 Received: by mail-pg1-x536.google.com with SMTP id 41be03b00d2f7-5c67fdbe7d4so1199221a12.0 for ; Thu, 14 Dec 2023 01:17:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1702545423; x=1703150223; 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=+iFF/46obNsWfbY+4T+eBA77lcdFJ5dsa4HEg7fUt2U=; b=HFBuFYUs97qggmJbk5arxWU2sAwIO84iQNy0PHPP5lpUcDAH9RLoVVjze1CRaM5f0B ZRxAndnM1T6B5OdBdVLiDHDi5+omfla3MtRu6vl+bjsT+HHFO8X/vOUVziH8NTKLXrBE GKmGE9v5ukTjdIbrWqwbnhASr1GLIlJrEZ/sHQiMOiy4Tw2FN3uC/Wye4+EqiWUwebMl 1W4iz4nLwmyDY8qYvFgmcZEJ617pIzJksPONRVbn6+kUcoVdWBE7XKwn9Z2J5TREARrb Ycho89B67TnypN5hoCZbiCmDQjyBRx1LNAxIAJ/ZGizWtahZ3aFPiC93RAVfAE0AACtY PYig== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702545423; x=1703150223; 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=+iFF/46obNsWfbY+4T+eBA77lcdFJ5dsa4HEg7fUt2U=; b=VS06dt3C6CAXVgu23Pbn8/Hfk04nH2DnxCSdxScOlXUhPjHQ1Zc+oQCd0LWiAgP44p /lkJwgO4n0f46UaMW4BbqbVJma9Z0ZzTPQ18zen/XEy7r3hQe0sAG3CZyKuPwpyDK5Pr RKCQjYWAeD73QAU8c7qlJxG5sqNpcdK8Ga8/zci6IhP8o0dGM25j3W675Y03l51JuOKi xVa+vRqB8UVq4uc0lm410lCkyrBXpqqhiuYW3A6ySedcsSTDCUSbIwi+4Cm3eW7wGniW PBFKieObt8KedM3lXRMNnMRT6fCY73ZoTJklDqCWXHgMkptKkHay8cKbG52OUx6hCmhy iWbQ== X-Gm-Message-State: AOJu0Yy0be0H/rX7cA8f2/1db8kyeXeCn+99s1N2XXxN/baT0I8Peng+ L1KB29UBPGvsj0MP3/iClU0= X-Google-Smtp-Source: AGHT+IEgE0r6aGqiL3xH6G3x6Ikn7jeuUZqDBazZOraFgs4poUQn0WNYOzGMjjFlDmVNKxYdUWRwBA== X-Received: by 2002:a17:90a:9905:b0:286:7cc2:4c15 with SMTP id b5-20020a17090a990500b002867cc24c15mr16118840pjp.0.1702545422895; Thu, 14 Dec 2023 01:17:02 -0800 (PST) Received: from fabio-Precision-3551.. ([2804:14c:485:4b61:a61c:8373:8743:d180]) by smtp.gmail.com with ESMTPSA id ch23-20020a17090af41700b0028ae287e869sm2926190pjb.26.2023.12.14.01.17.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Dec 2023 01:17:02 -0800 (PST) From: Fabio Estevam To: shawnguo@kernel.org Cc: linux-arm-kernel@lists.infradead.org, jun.li@nxp.com, Fabio Estevam Subject: [PATCH v2] arm64: dts: imx8qxp-mek: Move port under USB connector Date: Thu, 14 Dec 2023 06:16:53 -0300 Message-Id: <20231214091653.1187117-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-20231214_011708_654501_BD3FCBA9 X-CRM114-Status: GOOD ( 10.87 ) 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: imx8qxp-mek.dtb: tcpc@50: connector:ports: 'port@0' is a required property from schema $id: http://devicetree.org/schemas/usb/nxp,ptn5110.yaml# imx8qxp-mek.dtb: tcpc@50: connector: Unevaluated properties are not allowed ('ports' was unexpected) from schema $id: http://devicetree.org/schemas/usb/nxp,ptn5110.yaml# Signed-off-by: Fabio Estevam --- Changes since v1: - Added a newline between properties and child node. (Shawn) arch/arm64/boot/dts/freescale/imx8qxp-mek.dts | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/arch/arm64/boot/dts/freescale/imx8qxp-mek.dts b/arch/arm64/boot/dts/freescale/imx8qxp-mek.dts index 6c3d8715bc11..9f660f386039 100644 --- a/arch/arm64/boot/dts/freescale/imx8qxp-mek.dts +++ b/arch/arm64/boot/dts/freescale/imx8qxp-mek.dts @@ -152,12 +152,6 @@ ptn5110: tcpc@50 { interrupt-parent = <&lsio_gpio1>; interrupts = <3 IRQ_TYPE_LEVEL_LOW>; - port { - typec_dr_sw: endpoint { - remote-endpoint = <&usb3_drd_sw>; - }; - }; - usb_con1: connector { compatible = "usb-c-connector"; label = "USB-C"; @@ -169,8 +163,17 @@ ports { #address-cells = <1>; #size-cells = <0>; + port@0 { + reg = <0>; + + typec_dr_sw: endpoint { + remote-endpoint = <&usb3_drd_sw>; + }; + }; + port@1 { reg = <1>; + typec_con_ss: endpoint { remote-endpoint = <&usb3_data_ss>; };