Received: by 2002:a05:6358:45e:b0:b5:b6eb:e1f9 with SMTP id 30csp1714211rwe; Fri, 2 Sep 2022 02:31:00 -0700 (PDT) X-Google-Smtp-Source: AA6agR6RIONUcuZ7dRPg56gzxM8pdzOrwcbomNbDPZHUB+T6+2/IK8q45rnREcMAAFq2JSXAxU4x X-Received: by 2002:a17:90b:4d82:b0:1fe:9b6:bbf4 with SMTP id oj2-20020a17090b4d8200b001fe09b6bbf4mr3793130pjb.175.1662111059988; Fri, 02 Sep 2022 02:30:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662111059; cv=none; d=google.com; s=arc-20160816; b=nTOQ/KlvAaF9yXVdy9JZeoheb0J0Cqzoph4UzhD7726W1E+MOe8U4DELZic3KCzfnb dTauM+/akhnD2XFTRs+MGgnSMELl3MATvLSByeNnEm+2kT+RX/IhVZs6ZkEq3/fNMqgj tpRwlb3IpX5jXMeJaQpJf+nws6AhhJi1Z9Sgs4ejvm6UyGKZ7JOgtEGQzS8wNaGzNY9J tyv5J+QBA9j44eEsBl7nkDcsHNnv4kOEhVoBJa61fORkSKDwGzcLUEHpK1KVUl5PiR13 Y49AAhEXWg16Fut64CxzcaOtjrWXL8m4CUPUEKxs8xtEiGUon3UHfWq0MkEdylyHqz/G 4upw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:dkim-signature :from; bh=xEql2x/zehT0Hhi+zP9hx+jUEw///Jb1PT1Va7ss9Ew=; b=jdgFvNkM6bB0svK/yuW51buEgklhkkwJisdmlO+uMusl0z2aHoUJZwLAh9mQEykoMw iCXSh0MCm1JmSXHK/5uuNpORiJysF1JqAkWIm+V621NuiMJpdl5guJcTssxoh5LyJtyH MKG8cKiozxJxL8AQS0egaNJdC4ESXR7zvxXhGppY3E6Em1alIRhvybwfpPEWkf/2HtaP 9PY2e3Yl+ZRfpsN5oqdcJggBqZgqNV9YXEufcZSm3lr4/Q8HYM8/bgRJbDyzi+uhxexV WBYyMIL8jGZZkfCIShwpUf4IyRWqhKxI/YKOlKlYGStIe1wPKjfLTWkRDq38KVO++jpk k5bg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@puri.sm header.s=comms header.b=P+nMpyav; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=puri.sm Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id d19-20020a056a00199300b005369648b156si1728449pfl.276.2022.09.02.02.30.49; Fri, 02 Sep 2022 02:30:59 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=fail header.i=@puri.sm header.s=comms header.b=P+nMpyav; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=puri.sm Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236022AbiIBInl (ORCPT + 99 others); Fri, 2 Sep 2022 04:43:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57336 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235916AbiIBInK (ORCPT ); Fri, 2 Sep 2022 04:43:10 -0400 Received: from comms.puri.sm (comms.puri.sm [159.203.221.185]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2E6B09E6B9; Fri, 2 Sep 2022 01:43:10 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by comms.puri.sm (Postfix) with ESMTP id EE41FDFEC1; Fri, 2 Sep 2022 01:42:39 -0700 (PDT) Received: from comms.puri.sm ([127.0.0.1]) by localhost (comms.puri.sm [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id QYOPQjR-QD9P; Fri, 2 Sep 2022 01:42:39 -0700 (PDT) From: Martin Kepplinger DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=puri.sm; s=comms; t=1662108159; bh=JakZJWZhM51HWNUPYm0nW2ELxI9hOSYdsE72l4TJkxA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=P+nMpyav7GRNkNoPtp3/6UBlJD+4MSrUcutwbCfqPs+0gn95M5Tb4+H811VkucS/T UDHMFRMOpw5QrFWmESgi0M/L/pGYrLp7Z8zDbsR/RnW83NjMujwNgoxr0pEroroLAG TQHlVW2ye4Y8+0gWnt9COFUQoiG13leS3q/LR/kmDxupevRgDGwazFR2UNfQFAZxBs CzzAjtx3IUFL1bv1xl1mh2uVEaQHltkmcmquptvyVbxXYBUOAbA0yIjZ2FA6G5BAA8 QT1iSxW07QYnDEGJNY1HRTTa2Ty0HwjUf8NPOxDEJqV22JZb2/1xRoVqIZMymp76l2 1QGVDF1J5AusA== To: festevam@gmail.com, shawnguo@kernel.org Cc: martin.kepplinger@puri.sm, devicetree@vger.kernel.org, kernel@pengutronix.de, kernel@puri.sm, krzk@kernel.org, linux-arm-kernel@lists.infradead.org, linux-imx@nxp.com, linux-kernel@vger.kernel.org, phone-devel@vger.kernel.org, robh@kernel.org, Angus Ainslie Subject: [PATCH v2 4/6] arm64: dts: imx8mq-librem5: add USB type-c properties for role switching Date: Fri, 2 Sep 2022 10:42:14 +0200 Message-Id: <20220902084216.1259202-5-martin.kepplinger@puri.sm> In-Reply-To: <20220902084216.1259202-1-martin.kepplinger@puri.sm> References: <20220902084216.1259202-1-martin.kepplinger@puri.sm> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Angus Ainslie Add the connector properties to the USB type-c stanza to enable (PD) role-switching on the Librem 5 phone. Signed-off-by: Angus Ainslie Signed-off-by: Martin Kepplinger --- arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi b/arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi index 7e6c4ad438092..f07d1c6e97777 100644 --- a/arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi @@ -773,6 +773,10 @@ typec_pd: usb-pd@3f { interrupt-names = "irq"; connector { + compatible = "usb-c-connector"; + label = "USB-C"; + data-role = "dual"; + ports { #address-cells = <1>; #size-cells = <0>; -- 2.30.2