From patchwork Tue Dec 12 11:27:27 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Estevam X-Patchwork-Id: 13489014 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 45DD3C4167B 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: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=0b6AUWcuKjOa/oge9CG+n4I/CnhAXrbdFGc1l3f2j9A=; b=1d0JfmHMK68XjL HmOq9D3+JPTRQJzeRv+K+D/tR/BzGhI7//WaixSxxdR2KwKlC9mHJk1PWIq8FvqROOGsvXBRM8V5W IXxnOvYZ0RPd+e+SljcFB6KfO8W1flOfvFqVlVHNakVN2nbdLY9CD02MDYzmv5mBpmr3qLv76Cfjk fHgj1J+uG1y+vbxZXg8+gS664m0jYZ/3Rbk0AoJGmpl7KCWqOEBWQBsVaWqxWtIgnDdcSAMWInyGL OmiH0WzpGvKVxvoTe9kHdJpWBJErMaXdVbALSKp2g07/RZed2rhZYVkkSqLTGKUMbAOtRNMqVfYqf 1ylYNAIObtwREa9DkIrg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rD0vV-00BX9r-0E; Tue, 12 Dec 2023 11:27:49 +0000 Received: from mail-pl1-x62f.google.com ([2607:f8b0:4864:20::62f]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rD0vR-00BX9A-29 for linux-arm-kernel@lists.infradead.org; Tue, 12 Dec 2023 11:27:48 +0000 Received: by mail-pl1-x62f.google.com with SMTP id d9443c01a7336-1d03f03cda9so10313125ad.0 for ; Tue, 12 Dec 2023 03:27:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1702380463; x=1702985263; 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=UVcLWo9qevYj4NVMpda1U8nHLS2CP5f3SkgdbKzdChk=; b=TTFyPbcQsMG4Gb00ygBDkkgLoT2IScyTYB1goMBLc8ddRhX7GURHE6JBemqZ9gE6KC JoU0lTjD328XrGO6wwdyf8TYazcZ4eMLchkeja5fL/YGcayTC9DUXvjj43N0xqK67lMd 7QKy1nke/c/uzmPUHOwQr5EgtRLl2M8JtacDedQzYBasbFvszfkDeLM+qqcrz+OfUkKq ONXwLU5RJ6Wusm8tFNXz1hSQTzWUHGo5Ur69xl5QKHmlPo61dO8eFtUkEBak89/fvQ4z F1h8WC2v0FRidU4uvE9Dcox24ISBQdvGpDgcfPwFCmYkdEq+MTCQmLlF+64HPGyLk0wj +Iyg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702380463; x=1702985263; 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=UVcLWo9qevYj4NVMpda1U8nHLS2CP5f3SkgdbKzdChk=; b=YzmAllO1bmkR1ysJSat5er2K5+xn4WTO7bX6hzZ/7GqdqZnS2JYFTBMcMJwSj3r9bx /2OveEzTW2dfMLWF0XV/bkCCk5ZHyn9R0v4m8adl9HI6FKUxXl8NyfRMltTAl8BQCRYV R4IPnmR3DOMJBrDCuSJD8dVGiLdQUBJTMLlyvHCgnVWhU0QsmiFjAd9lu+St3TyqLVCF 1oU6FrXKLdZq4/2x/iF4KTYuy8u68WC1vSLGmcE1qKHodTH+Fep7HMG5BMLzhuFq0LuV bqVBRHV3IQNeBimyVAs25iU9l8scKxiuPsv9HRoRXIbO0e7nvOxZxvm1+fq0N1JSZkl5 879w== X-Gm-Message-State: AOJu0YwRlYhiY3OTE8HLMn8vrovJa7fN0mypJD4/R3bMZ09j7U3fshXc MxBfualqV22Zv0AOVzTPYfg= X-Google-Smtp-Source: AGHT+IE7LAy9GV8WyXYbwCWEPuMo6VQhdxFQbU7cfXD/Sg14xwrc4hSVNX0kmqEDX5yFtgiquxQugA== X-Received: by 2002:a17:902:ee81:b0:1d0:5efd:35cf with SMTP id a1-20020a170902ee8100b001d05efd35cfmr11080044pld.4.1702380462710; Tue, 12 Dec 2023 03:27:42 -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.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Dec 2023 03:27:42 -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 1/3] dt-bindings: extcon: ptn5150: Describe the USB connector Date: Tue, 12 Dec 2023 08:27:27 -0300 Message-Id: <20231212112729.700987-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-20231212_032746_299151_07076FC2 X-CRM114-Status: UNSURE ( 9.27 ) X-CRM114-Notice: Please train this message. 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 PTN5150 supports USB Type-C connector, so improve the bindings by allowing to describe the connector like it is done on nxp,ptn5110.yaml. Signed-off-by: Fabio Estevam Acked-by: Conor Dooley --- Documentation/devicetree/bindings/extcon/extcon-ptn5150.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Documentation/devicetree/bindings/extcon/extcon-ptn5150.yaml b/Documentation/devicetree/bindings/extcon/extcon-ptn5150.yaml index d5cfa32ea52d..3837da7416e9 100644 --- a/Documentation/devicetree/bindings/extcon/extcon-ptn5150.yaml +++ b/Documentation/devicetree/bindings/extcon/extcon-ptn5150.yaml @@ -37,6 +37,11 @@ properties: GPIO pin (output) used to control VBUS. If skipped, no such control takes place. + connector: + type: object + $ref: /schemas/connector/usb-connector.yaml# + unevaluatedProperties: false + required: - compatible - interrupts 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>; + }; }; }; }; 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>; + }; }; }; };