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>; + }; }; }; };