From patchwork Tue Dec 12 11:27:28 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Estevam X-Patchwork-Id: 13489016 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 520FFC4167D for ; Tue, 12 Dec 2023 11:28:18 +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=per7x/RGhd9gHADMKKddutQfMExIxvwOVMPn3IyFXkA=; b=Oo5eTgMyOazDkf bce6gu4Wz/sdaOnc5AQfBosTNvtEaFYP+Ql9Ul/Q0tcD5DFU5DYjtAwmh7SOMH7HDnTR1m5dE2837 iZcyL3ZaP8KWXmJmnCfGG8PPNHvNiYIpUIQe4bW+/29bAa+LUswx/RNd+e0lbC3hjZb9VBNc6r8S6 MKVVjb+Pdx0DwqJQsxKyzbrrU6h6pt4OElZ2vbLx7Iw6Z+iWTemmAHR01isN1FpIhZEWFoNuVA7xh 4ugiVW7vB/+r79+J0yV+MVGJ1ERqYFuD4utIAlRgiD0YSeTW+N2SsYPNB2/E/P8UI5IwQLnRdClSb Wckgsq6c1xWfing1faQA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rD0vZ-00BXAo-2W; Tue, 12 Dec 2023 11:27:53 +0000 Received: from mail-pl1-x631.google.com ([2607:f8b0:4864:20::631]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rD0vU-00BX9T-2x for linux-arm-kernel@lists.infradead.org; Tue, 12 Dec 2023 11:27:50 +0000 Received: by mail-pl1-x631.google.com with SMTP id d9443c01a7336-1d072f50a44so12462295ad.0 for ; Tue, 12 Dec 2023 03:27:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1702380466; x=1702985266; 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=8leUDfJnX3uZjjRZdLHIUQyp74wSB+sGRHaZ+8nJbmE=; b=LzOJE1q7sW4of4U21di7Sw5P4q7rtfhZOonLuJOe4fafeR5ouzYaP6EHqIv224nB0i GLYV2wkN40OtgmqK0AMv8vK8dwHWNyb6ANoSErZm7NZL/bw9dPaXUtsrwMndi4PRLy3N utEQgKrKDR3F0Pa22bp6vUbeFX55+6dpqYb2UfO6zyh94uYDN81xnSNNh/erdWbqc2Eq QJZN3mfPmKz1TiODX7P2nwvgz8AQ6INu6v1Y8fzeDQ/I8DQlDri/ed8pbnKSoDXue+Ci fd0gTlHsRGGzhJJLtdW28/hD9wxrKqNofRCvRZ8URgu22ZzqK9OdvPe1qi+H1UxArcJF 9lVw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702380466; x=1702985266; 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=8leUDfJnX3uZjjRZdLHIUQyp74wSB+sGRHaZ+8nJbmE=; b=gkjqrj7VbprImLe05pzp8N7beS+bvR6/Uz8CN27Z82fXfIbKSOOOXzCiCpddYKkkYr 1zSx/LdiDPDD+EEpmUJceIwIS/0lAg4zi0J+GnXga1Glt10vU3CaFEUO2Bl/Zdv4ddF5 aB4LmLEk/xROM/2vbWwvtdOa1ZFqQSLktlvWBVm8GTkZf2ImZIokLipSjjsJTKQJw74s m+1jmDmDT7LN5f+N5e0rj9Xujq4krorDPDOXzpf9ihJAF8+3tkzxVwuTP/Vr8Fs8rAQO qa8xwL56CEd8b73ruOa0M8baH6exZG6RQHJJHJKzgTHCij4UM83q3X5IHxYah2sWZIoE X3qg== X-Gm-Message-State: AOJu0YyBAUDnjR/4CnE2j8EOdf5IhnYmfHhS5o/+47uPEBdBRi2XzGZu 9XmB0K9t79XIIpWXX2ByF1I= X-Google-Smtp-Source: AGHT+IHtM3055x/5R8BSIFghKr1Pomm4PKH60rlO1Ie1n9oP2J/aL7k+VyeiFbAx6d8I+4sWLOwLdQ== X-Received: by 2002:a17:902:f684:b0:1d3:4125:725d with SMTP id l4-20020a170902f68400b001d34125725dmr509603plg.2.1702380466123; Tue, 12 Dec 2023 03:27:46 -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.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Dec 2023 03:27:45 -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 2/3] arm64: dts: imx8mn-var-som-symphony: Describe the USB-C connector Date: Tue, 12 Dec 2023 08:27:28 -0300 Message-Id: <20231212112729.700987-2-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_032748_952603_7079B078 X-CRM114-Status: GOOD ( 11.03 ) 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: imx8mn-var-som-symphony.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 --- .../boot/dts/freescale/imx8mn-var-som-symphony.dts | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/arch/arm64/boot/dts/freescale/imx8mn-var-som-symphony.dts b/arch/arm64/boot/dts/freescale/imx8mn-var-som-symphony.dts index a6b94d1957c9..f38ee2266b25 100644 --- a/arch/arm64/boot/dts/freescale/imx8mn-var-som-symphony.dts +++ b/arch/arm64/boot/dts/freescale/imx8mn-var-som-symphony.dts @@ -128,9 +128,14 @@ extcon_usbotg1: typec@3d { pinctrl-0 = <&pinctrl_ptn5150>; status = "okay"; - port { - typec1_dr_sw: endpoint { - remote-endpoint = <&usb1_drd_sw>; + connector { + compatible = "usb-c-connector"; + label = "USB-C"; + + port { + typec1_dr_sw: endpoint { + remote-endpoint = <&usb1_drd_sw>; + }; }; }; };