From patchwork Mon Dec 11 21:40:54 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Estevam X-Patchwork-Id: 13488110 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 185ACC4332F for ; Mon, 11 Dec 2023 21:41: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=DS7yahWyS/HabsX9NwFSJ4p4GAWzKggVuTvLNLUuKRw=; b=vZa/8RGkw0YjS2 olCxJLdesdUoK9553JJkFepNwS9j2nrHk18/bJMpgutaDqkGtt/jWL3kIpCP9Kex6/lXNyvItl24D c8+HTn1RIAYQuSEbjT+mJNEhJf8hEa1gqzrfT5iSFPL8xYtiTyjzrj+5I5GUsGbifDq7eVYUAAvcl D0IPKAmkLMJ7Us3JxRHi3vs0uFMw31piYbjkmNtsQUZJN1DLj1rlhNgPOCN7fFzjgdwYrXcYhmjqi EndntkjnPAAFqP4WYLTS7GPtpK4B0bN6B3FRtxRrKT1ba8VusIYk737nrgvsl5yJ0+Y1B6H5p+YOn b9+r/Y0Dz0QJnrXE8flA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rCo1i-008juf-1G; Mon, 11 Dec 2023 21:41:22 +0000 Received: from mail-pj1-x1036.google.com ([2607:f8b0:4864:20::1036]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rCo1f-008jpS-1l for linux-arm-kernel@lists.infradead.org; Mon, 11 Dec 2023 21:41:21 +0000 Received: by mail-pj1-x1036.google.com with SMTP id 98e67ed59e1d1-286e9ce9feaso1492058a91.1 for ; Mon, 11 Dec 2023 13:41:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1702330875; x=1702935675; 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=aCsDgaLOCty3Ln1zIWWO++CUKbr42mbpQM9XMMAWTdc=; b=UYcMTdxqz2LpTTYQPDLFCdA5JKmWK6NBw2oYyCwYBWDGqr6cqk++wlMR6BxsIyQD9w l8z15F5L+l03qTzNIPP3jnaUY4TVIL3j6SBEhN9GAJ8PgeEKnmzaDTUxgHnroVEBIZLR KiJjPIfJQPp3aVlbVA/2/SFa+6JDtf5SH8GPFdf+TwuI0GMYnZMtqvPmplqC3NlzrEOT ImROXRG9tcda6DZXHmiYPVXUY7isv4nEdOt0vRsGCcM09WC6xwO9B1fov+5UadbVn6P+ UNaaMX2qCwo2cKTooh1qlHhLtiUnTL/3AQUKWEFjAzxmPX7EKPI+XJXzZrQ21aZXjAk0 4vjg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702330875; x=1702935675; 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=aCsDgaLOCty3Ln1zIWWO++CUKbr42mbpQM9XMMAWTdc=; b=grqKbrTAPSClrqFuFJFOK3jyaRaiHpO9YfjJnl10CSFV66w0OHnuNZJ9F6VVjo0xxz CtwyhBglxU3gFg8odWsqGVcG7GC3hgiYg7IpQmAUPSRQ8YERh7QdDd6rVD31/oIlA4qC SLiwnViEeCK0mIp/mxROTeXVXVYg0nNkwruyahDHNaVkLav0nRzwIhFzx9826jsba3fy WewsVFQRgFyJm2eiT8ME9zUboVBBEjG5Dgtso6gR2wlhWx0iVQbOkXQ0jfhq7YPPo6m7 fIvL5cvtCNZ+ZYTvHWHJVEd7EQCaoD++JgBAWPryoVIW4uvtxxNmt/0ZrgBVl3zmcPyw B5rQ== X-Gm-Message-State: AOJu0YysN5aWOi3RdWoQop8BNBEgZPfAcPCO175ouQ3TEdUozmtvyB4t AAF1AfBl72+NnYEiSK9zOxw= X-Google-Smtp-Source: AGHT+IH7gHE/2amEB0OQ2DVX2rG3wkcVDbWNmvbvGYcqAsvhSZMXgRcw+KKMXNmzSDG/s36qX6duhQ== X-Received: by 2002:a17:90a:c082:b0:286:5123:ddaf with SMTP id o2-20020a17090ac08200b002865123ddafmr8846123pjs.3.1702330874827; Mon, 11 Dec 2023 13:41:14 -0800 (PST) Received: from fabio-Precision-3551.. ([2804:14c:485:4b61:1d51:eaf7:9aaa:d7c]) by smtp.gmail.com with ESMTPSA id pt8-20020a17090b3d0800b002839679c23dsm7583927pjb.13.2023.12.11.13.41.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 Dec 2023 13:41:14 -0800 (PST) From: Fabio Estevam To: shawnguo@kernel.org Cc: jun.li@nxp.com, linux-arm-kernel@lists.infradead.org, Fabio Estevam Subject: [PATCH] arm64: dts: imx8qxp-mek: Move port under USB connector Date: Mon, 11 Dec 2023 18:40:54 -0300 Message-Id: <20231211214054.570295-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-20231211_134119_579810_2E2D3A70 X-CRM114-Status: GOOD ( 10.80 ) 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 --- arch/arm64/boot/dts/freescale/imx8qxp-mek.dts | 13 +++++++------ 1 file changed, 7 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..096f9501fa32 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,6 +163,13 @@ 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 {