From patchwork Tue Dec 12 17:48:45 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Estevam X-Patchwork-Id: 13489746 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 05992C4332F for ; Tue, 12 Dec 2023 17:49:57 +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=poP5w+P26nKY4+nt7BPm2wmepsMrJvpAthEiQt7eZpo=; b=PwIFwX2RvpFoJv LG8Lm3w2Xsr9HeN3pDK+1HwZCzKbH7yNMmqP3eHeas268/HdjqDM46ruxwHyrUg5gpJg1BAdgfaP2 NYVjDOcTZ/p8OEspHhcMHtriLUBimi9IVSJTHKJyXPnUCIGzId7QXhFX3Ar53OqPtekYq98fwbEgQ ht5WM63RFO2DigzVqNZkWhKLZzmW+f7xKZY0FaGMWaXfpYvpOL9Ku6Ozqbb1l2NRhzB0YRBitPonl +EVCXHfx2WK3tjnbBWENHdKaIsJ1advcw/OoQO5ZMPjiZ36eIowzEA0mm5mYJNcP++FssL8Ut2moW 6gudRQ/FiCK5Y2wdariA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rD6sr-00CQq7-0P; Tue, 12 Dec 2023 17:49:29 +0000 Received: from mail-pg1-x529.google.com ([2607:f8b0:4864:20::529]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rD6so-00CQpS-2N for linux-arm-kernel@lists.infradead.org; Tue, 12 Dec 2023 17:49:28 +0000 Received: by mail-pg1-x529.google.com with SMTP id 41be03b00d2f7-51f64817809so985222a12.1 for ; Tue, 12 Dec 2023 09:49:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1702403362; x=1703008162; 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=rhtIJYJ5IrHbc4P7are5F0+u6NGnL7LrCMmoPv/s/FQ=; b=PxHJROGDbqy9aqn7sFkNvA2L2JltdTTipPPp5W162LxPtZXHvkK/rRm4i3fH27pVUK LDEfy8uPBxHwr209szIey9PIru1ck27nSNDhPX++MWIBhpR2NWM40oyUzOB3e47iKDKK s3qB4H0gdtoXBaqMOJx2LQrPXZJ28AN6TYYuFrgq1yBHZUS0fV/apu4yh9Hex0vgx9Ec wkq0kGlfu7Ig/fvdpEXQSQxZnWQXnrnHZ0p8agq4xasFZdzv/mG4A1XT/hUlOEN6jclR LqipDhz1e/djV4vCS0AIgPdHU03G+zRq75kMsbQ297Wji7IUV5NdhY7WYj3lYUUlKFk5 SNog== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702403362; x=1703008162; 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=rhtIJYJ5IrHbc4P7are5F0+u6NGnL7LrCMmoPv/s/FQ=; b=GH1CHRKveyxJRjVXARXAL7l2uJOhMzPf8B2l4dOBryhJ49G4jnNPkLcAD20GSs4H7Y w8nk+CKBkqYCVutKjAv6kYOzvMzngQ6D6QKOdJDzh3bLJi5IMjlINYzzS/GxrMSUrD35 nRC2T2IDqKRtLqe9eKrHoNbgXQ0natI4cRIFnyyRSAyQBvK2IhY7nDZoFRGSHqToS08A qWQ72VCGYnJWWmMqeupd5b401yiuqS+1eTp51CqhdWJclzB4Ub0PQjmeuYTKOJl1O7M2 tb1w/dtAoSJmAAnjEiTTgnUtB35EyTPwsuihBQjwKsdXnVnd8fBGfZFXkHHre/ODIEzF oWFg== X-Gm-Message-State: AOJu0Yz5SrXyYqNgMd7qRHCvwTeo5cFF4ZGQzRHmrLPGmhjyBUL01oAI ZSGsV18Mvw5sSWgjR9XsDxIcxdH98bs= X-Google-Smtp-Source: AGHT+IH/flFTNCLyqHck0eKYrLllXI1borR+wifYtTutCVWaKl4Vkt9ZCHRr8/4A8Yd0y6v86baAbA== X-Received: by 2002:a05:6a20:3d07:b0:18b:3c9b:f196 with SMTP id y7-20020a056a203d0700b0018b3c9bf196mr16607844pzi.1.1702403361685; Tue, 12 Dec 2023 09:49:21 -0800 (PST) Received: from fabio-Precision-3551.. ([2804:14c:485:4b61:a620:342d:797a:5c59]) by smtp.gmail.com with ESMTPSA id w23-20020a170902a71700b001d0c418174fsm3115008plq.117.2023.12.12.09.49.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Dec 2023 09:49:21 -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 , Conor Dooley Subject: [PATCH v2 1/3] dt-bindings: extcon: ptn5150: Describe the USB connector Date: Tue, 12 Dec 2023 14:48:45 -0300 Message-Id: <20231212174847.759164-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_094926_798755_A12AF2D1 X-CRM114-Status: UNSURE ( 8.91 ) 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 --- Changes since v1: - Removed type and unevaluatedProperties: false (Conor). Documentation/devicetree/bindings/extcon/extcon-ptn5150.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Documentation/devicetree/bindings/extcon/extcon-ptn5150.yaml b/Documentation/devicetree/bindings/extcon/extcon-ptn5150.yaml index d5cfa32ea52d..b3e5c0df0cd7 100644 --- a/Documentation/devicetree/bindings/extcon/extcon-ptn5150.yaml +++ b/Documentation/devicetree/bindings/extcon/extcon-ptn5150.yaml @@ -37,6 +37,9 @@ properties: GPIO pin (output) used to control VBUS. If skipped, no such control takes place. + connector: + $ref: /schemas/connector/usb-connector.yaml# + required: - compatible - interrupts From patchwork Tue Dec 12 17:48:46 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Estevam X-Patchwork-Id: 13489748 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 DDBCAC4167B for ; Tue, 12 Dec 2023 17:49:59 +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=3tMRE1tXoI1Qg0eHJMctu3x7WOF4aMp251ryh7c7EFQ=; b=BWZe3eu34EaZnp Uc1gwPxyMBaf2qNy21/EQ0KcvVjF3dUNWjxYNzfFY16M2ye1drRdVkbDvFd3K3GwYx+8dI4A5bCLQ niFttiKvT0z/JpfiW0ohp/huk3nc52kYjMxMv6zkLztAlYAl3y1TH5eQVMeZgaQcWQcg+m0g7kXM0 tg+wKUkPaLAMhvr51q73sa6+55uyBTd1xEoZZ22rLxKm0xg5rzU07ZEmdIAiqD1GUoUBwy0u20GDi rt3gZ9ICr27rG9NGreQ39uiOzLz4ECZEa1782J2rX4A7r+MZ7ryQZUAzPT4iqP3tNs75xa63Jg6Rm 0VJEsu/c/ArYsELn1WbA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rD6sv-00CQrX-2u; Tue, 12 Dec 2023 17:49:33 +0000 Received: from mail-pg1-x52e.google.com ([2607:f8b0:4864:20::52e]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rD6sq-00CQpY-07 for linux-arm-kernel@lists.infradead.org; Tue, 12 Dec 2023 17:49:29 +0000 Received: by mail-pg1-x52e.google.com with SMTP id 41be03b00d2f7-5c6910e93e3so740237a12.1 for ; Tue, 12 Dec 2023 09:49:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1702403365; x=1703008165; 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=pQmpfl24jbiZt6rB54h6LJ1un8z6RLiJsN5XRgtJKqo=; b=hfAPkmOeNBkN+0YWm9Emw6VsGh3/1lU9z1R+TweyZvn+szM6ANAs4dB2JU2WIswPvE DSmh9yDivSBduW8Psljzcf7b+p2PU9eLe7eg6tny18zz2/WzPtVnQtvnOVzz6UIWFUt1 Tv1GSHtLpN1+RbFwYkebksX7WxsdGN9sAlG4il/9yZF/wBOrjt8LXwnnAnSzoIPTv2VT s7WcJuC5yUmiw4Sr6quFWiOxH3IP0zYNX7n9pNX7i03kTiT+XEyqUY3JlT7siYGhEYt1 RLD07NUcgFunpaq99L5OGjOr/wba9nqbnCVsRxu8HHuTYwwCrDaNATMwweau9qH4VCn2 PQNg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702403365; x=1703008165; 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=pQmpfl24jbiZt6rB54h6LJ1un8z6RLiJsN5XRgtJKqo=; b=ifC9h6aB2NY/DoE/1lKV4AaeJgNIaFEzF5kpcHeDKrtS+a9uuKyemk6o/DhImbM+IC 3NCWVgBF/BYzfSPlyzGcCV0wS7a9/krzmNRvwEbHp/FrxfQOTCVTrZHSEdQqWq26U5za 9Zrr7+AdDJSOA97LUb6tudQwPX/3Res+qLB1Pe4S1GKvnZYdnEna5Fu+M+h/XJeDNz5R 8Jddx2sbWmF9vktGLMyIb3rA6/0DhwtZ3T0JB3znRQoy4/ITnK55HLlCfqTB5IAcl/k/ qShNDdTff4z0G34S8XFxBW+jGwwk1PHtQ51030tieNe2OJEDyY3DGDyyLSZWOWyvHZrm g1dg== X-Gm-Message-State: AOJu0Yzh6Gz3rlm4a+9UfOvL7xR4P/BUo+LwGYp6FhzyXYyo3X4DtgCm kRbOavgRKP1dIRJXW8R0DOfAfT8Fyb4= X-Google-Smtp-Source: AGHT+IG2SSn1o8HA+hFaa2hA+1SRxeubJGVPuyBie7zvn/CPsYY9bHuLwtMmUz4naG7pC7fTvd1j3g== X-Received: by 2002:a17:90a:d916:b0:28a:d272:f162 with SMTP id c22-20020a17090ad91600b0028ad272f162mr1166207pjv.2.1702403365027; Tue, 12 Dec 2023 09:49:25 -0800 (PST) Received: from fabio-Precision-3551.. ([2804:14c:485:4b61:a620:342d:797a:5c59]) by smtp.gmail.com with ESMTPSA id w23-20020a170902a71700b001d0c418174fsm3115008plq.117.2023.12.12.09.49.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Dec 2023 09:49:24 -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 v2 2/3] arm64: dts: imx8mn-var-som-symphony: Describe the USB-C connector Date: Tue, 12 Dec 2023 14:48:46 -0300 Message-Id: <20231212174847.759164-2-festevam@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231212174847.759164-1-festevam@gmail.com> References: <20231212174847.759164-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_094928_086155_4DAF4153 X-CRM114-Status: GOOD ( 10.98 ) 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 --- Changes since v1: - None .../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 17:48:47 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Estevam X-Patchwork-Id: 13489747 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 18CB2C4332F for ; Tue, 12 Dec 2023 17:49:59 +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=4UV6j9hXdJ/ee53OwFeQI+YqIqlC/2RQqdnegSx6KpE=; b=WNjbve42oD2Qy5 qBWXTh4xHUsgck8y3bhiF1Y4vumNWW1Cm4IfeudVaiAwGxpM4VWl5Qp+V1FDiujTH2aexqwO4ND+q AqqSgrM8pfJoLL7albS7BHbT1VHgR+BOewxNM8YxBJFpmGw2uF1IZq5gvbFlFRbizEIKNPb/rPk7t tOiCxY4oOHV7k5nvpgYsIg9DeQGe+X+dVI3H0F81s92sm/DhGDxsY2zqNmWgQxuNZxy8WeZnECW/3 J0RJFOt9PpHbdtWSdoA16dZNPxHqjAC4TIRF+fUX4ITU3A0k2HQku3xtTMzXjTumVCPvRXhtvaD5A xAVM7PTDN+jn3+vwONSA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rD6sw-00CQrq-1v; Tue, 12 Dec 2023 17:49:34 +0000 Received: from mail-pl1-x629.google.com ([2607:f8b0:4864:20::629]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rD6ss-00CQq6-1m for linux-arm-kernel@lists.infradead.org; Tue, 12 Dec 2023 17:49:31 +0000 Received: by mail-pl1-x629.google.com with SMTP id d9443c01a7336-1d072f50a44so13251855ad.0 for ; Tue, 12 Dec 2023 09:49:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1702403368; x=1703008168; 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=9o7hG+Bfuk/8KLgCmYouqOGv10v2ly5d9uYgGYM3biM=; b=Q7WgjTDLGnaUTwvYu43Xud+YJLq7b4R9wVqu3dKUo7axBMB/nPplymKYSiFCziTmex nHNeqE9nbwjUhaXAuUNIvKttA8niT6/+l/KLU/eO2EtY7yoUCmN8CZzxdRFZ75Fov/FD /7bC7H4UA8olGqFT8qT6sJXtBPk6yFLYYdewsUho4mpdGLGn0ZoPL7czoglWnHfuI2BY 7oo+rxagI1b/b5vyRyvviTHbz5DHtF5hsvOSnmDRo1WUk3G12vK9gb5ANDo3kxFYuZon hZsPwBZN5DJfDxNgZFoFx9RTzaQ+MSRQzolqAfInVb0iumCfqGOiadQm6+pzh7HXk3/o JOrA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702403368; x=1703008168; 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=9o7hG+Bfuk/8KLgCmYouqOGv10v2ly5d9uYgGYM3biM=; b=AE8g332aQj4AXKJvcvWxw/EgxOYlS65mMTafsh7cNBLQFn/7gpB5mnPGn/eUHLEfDA LxyJ3JhAfWoUJrcV6AN0oNT7cwKXlJzQwtlp2Di7bFwTW6sKIeQnVQG/W7173WsZUWzD 9aPWIn6CZYo2fQ2HQSXaC+bAcn/kUK9Vyk2Jpa7a8Cbl1nOHLJRA67kmQrDYNUz/sUim erCQoBHck3SsxwWDzC7KMQWzeZfeJkrpiVSriRL8yFjwFFH3VoYrgiP6KqEMBoIZB1Ay qj7hpz/MzSwTv3kCy6url4c/wwNHEcJsprVTygxJ+Dtdt+686K+TUH5XbHL0/fAkYDKo uwag== X-Gm-Message-State: AOJu0YyP0O1HfmkkPUeosbTY1fieR1s7qkZZQZN4a/x4YX05V/T2Bw4K Pjxc+0hdp6ILTwpSzSrJB9I= X-Google-Smtp-Source: AGHT+IHhgVrGnoO8bb2XxpK9KK0jR2gC/92nT+2wfYcSKrcPYEwEg4lZUnzWzaHJD2LmXHNsLHsuqQ== X-Received: by 2002:a17:902:ec89:b0:1d1:cd7f:5428 with SMTP id x9-20020a170902ec8900b001d1cd7f5428mr12212086plg.1.1702403368498; Tue, 12 Dec 2023 09:49:28 -0800 (PST) Received: from fabio-Precision-3551.. ([2804:14c:485:4b61:a620:342d:797a:5c59]) by smtp.gmail.com with ESMTPSA id w23-20020a170902a71700b001d0c418174fsm3115008plq.117.2023.12.12.09.49.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Dec 2023 09:49:27 -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 v2 3/3] arm64: dts: imx8mp-dhcom-pdk3: Describe the USB-C connector Date: Tue, 12 Dec 2023 14:48:47 -0300 Message-Id: <20231212174847.759164-3-festevam@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231212174847.759164-1-festevam@gmail.com> References: <20231212174847.759164-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_094930_586201_1EDF5887 X-CRM114-Status: GOOD ( 11.53 ) 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 --- Changes since v1: - None 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>; + }; }; }; };