From patchwork Tue Dec 12 11:27:29 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Estevam X-Patchwork-Id: 13489015 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 AE95AC4332F for ; Tue, 12 Dec 2023 11:28:17 +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=SnGcOoDbtmtzTFXN9L2t7xRAvT3/5SC1yKTvvZFc1tM=; b=Lhda8i9++4In8e t2IZmSp2TCj8r03ykkB+fVHmKHgebXvT3JLF2gogVRCUFjGE2ejZpmNN0SS8E26fz0Bt0FgeybUWN Go+xwJdSoQohDD77RxBsHY/HADjCumw11aJ6XbzNsqhg4DIf+QRNoxG9oK4ZKrqhQNAhMHq30CdGK Xf5HrWdCicSj25wEA3VpzguFv72lQYGSJ1s46vJ7IlDQ9ygooccLyHfpFpoZJrtLlCwSSVVSbS/Yc l3dlu1HU9/L0ko/bOmT3l3Plq/4KrMwaVYppgPhAEdeeqAKwlsOepKCciyUqZPyVH2CPQiqdaEXVq xb0o6vK2xuFp9pr1FdOg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rD0va-00BXB5-0z; Tue, 12 Dec 2023 11:27:54 +0000 Received: from mail-pl1-x62e.google.com ([2607:f8b0:4864:20::62e]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rD0vX-00BX9y-1t for linux-arm-kernel@lists.infradead.org; Tue, 12 Dec 2023 11:27:52 +0000 Received: by mail-pl1-x62e.google.com with SMTP id d9443c01a7336-1d33819091fso994075ad.0 for ; Tue, 12 Dec 2023 03:27:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1702380469; x=1702985269; 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=gJnBFFlQjmOlNn2KOw8AHQl+aAG080koCWR/okC+yIc=; b=cAk/7aHa55kPWf1QtX72Fz6O0CdKssTMoS7n1hTStq233qq8GfP2qsHJf1higJkwix 00N+iBZ5JE+Awre3Svl67H7+tz6g8NnfclUw/j+WlDs21u92EWz0rx8hup9LQfPqcxQu yesjPyK+5aXujeTDspeiywNsS/NzPjeX9+8Orh+GshE+6cC9GYgUFrEnnM7nqM5xeAD4 o+sx4MVBcir9gE+y0f1RFT/IEgJd50+kXjoZv2pVp0tQ0me/qhbD4jvLEV9uCm3mEvti gTNbDNgduI3OXYmAZYA8IZqFVG0RuU+NvnwdO1AvVzs2GskCvEaGz/1zVyahyuuOQXQb vCbA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702380469; x=1702985269; 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=gJnBFFlQjmOlNn2KOw8AHQl+aAG080koCWR/okC+yIc=; b=P5LE99A52wOqBgjn1DSpk01/e+ZJ3FFH/dwxB8o4qyd+wI+yDzSNQ0Jm39WeY9V2Kx OpoawCD67VW7ATNCugWrBG3bIF1LHUkBABE5fMbwH8sffmApT2YsNti5RE6s4Se1iFbn Zmte/Z3AN9PtUGPsR+V5AYci4XWq26PGbZUHKWPI1fQnIQ0hQhX3R9Cq9S3O5nJcbRls Y+KG27DSLVCTA7i2JEc62zPHk8HF62Hzq4oenRJ0ViVWzdMl76HoMKNKu+axBWJN0c/L u7dwBsS+9JEbaEN3E40v+rYc98dANi2Q40evOA0R3M7PWIRDWPLK/wlVpTHPEj2xia2h L99w== X-Gm-Message-State: AOJu0Yxnaqq/DK3wGVmWJkncQFjr67LcvfB+EevQwuvtWCKbljqM2KCL 57hWz0pfofANWNfcHEFy+B0= X-Google-Smtp-Source: AGHT+IE02bQc+lwBB8qG1KWfjQSmk8kFZr5ZWGP90M/Xz6/0tQ+3fAXrVuUhWNgMehadISnA1h4bLg== X-Received: by 2002:a17:903:32cb:b0:1cf:ce83:3b5d with SMTP id i11-20020a17090332cb00b001cfce833b5dmr11875854plr.6.1702380469560; Tue, 12 Dec 2023 03:27:49 -0800 (PST) Received: from fabio-Precision-3551.. ([2804:14c:485:4b61:a620:342d:797a:5c59]) by smtp.gmail.com with ESMTPSA id w18-20020a170902e89200b001d051725d09sm8415421plg.241.2023.12.12.03.27.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Dec 2023 03:27:49 -0800 (PST) From: Fabio Estevam To: cw00.choi@samsung.com Cc: myungjoo.ham@samsung.com, robh+dt@kernel.org, krzysztof.kozlowski@linaro.org, conor+dt@kernel.org, devicetree@vger.kernel.org, shawnguo@kernel.org, marex@denx.de, hvilleneuve@dimonoff.com, linux-arm-kernel@lists.infradead.org, Fabio Estevam Subject: [PATCH 3/3] arm64: dts: imx8mp-dhcom-pdk3: Describe the USB-C connector Date: Tue, 12 Dec 2023 08:27:29 -0300 Message-Id: <20231212112729.700987-3-festevam@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231212112729.700987-1-festevam@gmail.com> References: <20231212112729.700987-1-festevam@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231212_032751_622652_01511CCB X-CRM114-Status: GOOD ( 11.58 ) 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 Describe the PTN5150 USB-C connector to improve the devicetree description and fix the following dt-schema warning: imx8mp-dhcom-pdk3.dtb: typec@3d: 'port' does not match any of the regexes: 'pinctrl-[0-9]+' from schema $id: http://devicetree.org/schemas/extcon/extcon-ptn5150.yaml# Signed-off-by: Fabio Estevam --- arch/arm64/boot/dts/freescale/imx8mp-dhcom-pdk3.dts | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/arch/arm64/boot/dts/freescale/imx8mp-dhcom-pdk3.dts b/arch/arm64/boot/dts/freescale/imx8mp-dhcom-pdk3.dts index b749e28e5ede..fea67a9282f0 100644 --- a/arch/arm64/boot/dts/freescale/imx8mp-dhcom-pdk3.dts +++ b/arch/arm64/boot/dts/freescale/imx8mp-dhcom-pdk3.dts @@ -175,10 +175,14 @@ typec@3d { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_ptn5150>; - port { - - ptn5150_out_ep: endpoint { - remote-endpoint = <&dwc3_0_ep>; + connector { + compatible = "usb-c-connector"; + label = "USB-C"; + + port { + ptn5150_out_ep: endpoint { + remote-endpoint = <&dwc3_0_ep>; + }; }; }; };