Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp3784302pxb; Fri, 11 Feb 2022 07:42:50 -0800 (PST) X-Google-Smtp-Source: ABdhPJyTbGVUq3eyoDajZ0G3j1GADiEii0Mp4vUdIvv0MF3a0dxEodN8iCF8mjg6bQIe1MRdnjHb X-Received: by 2002:a05:6402:5247:: with SMTP id t7mr2526236edd.10.1644594169795; Fri, 11 Feb 2022 07:42:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1644594169; cv=none; d=google.com; s=arc-20160816; b=xIFSPII9GtMn1fk675GPGTopODp0+IgFmIaaWypV+fG+Xwks9Ht1qx76CggvuxLwhw mkSWZ/Ck/nmlKZLLJnEvUS9cHV9grDWO5K49tqdFYHBrubIewJ9YHaXMXP2nQyKLPI66 E7MNtDYSLkj21WKfLnsuuUO4X8ef/y0AcxQB8HGqyQHcnGs/21zxEjoWab32e0MiHjpa T57xikTaO1LBnHmuJBWDvz0AGDmVYhtjjEQfIswadFDiqwiGWyyK4A+pwYNbirYcUWUb IMmauhnEM6VVKfyIIgK7M9yX+pbLKyNwfeix4rZvOBWyjHaPrBMyXpcpFV+Vok30xu9N edmg== 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:from; bh=0SJKeKS+baaFfrwUllEL53GH07NSY4W7/wGtY282z5A=; b=ZiZPpSVDTXjErDbcVcO4lPOLokYHsb59OGYnPCyYa0tVOMmtg3MRAxoiJvWnEfMmgz QSbeHU1mzEfxQ5MV1c7LmJTnq3JH7M32qYio9QHpZvuXpbWZlJsvcAAkIA+mFwOe6nLA AxzS3Q43oVJiNsRVT+IyUkcAGKb02gO7GDDRUAQAS7PKYive9NDFPQEzahSka9xO3ZxQ XQ4JL4SDVgD0H7I5wFG7WcPKZaCxcLkWOXRQ4Rq3JbgmS2E0IpaLFDFj56CJlH0VguBu IEKlhA/i4Kab0tB3giQWZC/HGwemv1kRQU2eCDw11IseaycE1r5XKelh10BQAf0h9k3m b1IQ== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id d17si16274044edj.467.2022.02.11.07.42.23; Fri, 11 Feb 2022 07:42:49 -0800 (PST) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1350555AbiBKNa4 (ORCPT + 99 others); Fri, 11 Feb 2022 08:30:56 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:53780 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1344706AbiBKNaz (ORCPT ); Fri, 11 Feb 2022 08:30:55 -0500 Received: from metis.ext.pengutronix.de (metis.ext.pengutronix.de [IPv6:2001:67c:670:201:290:27ff:fe1d:cc33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3BFF61DF for ; Fri, 11 Feb 2022 05:30:54 -0800 (PST) Received: from dude.hi.pengutronix.de ([2001:67c:670:100:1d::7]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nIW0V-0005x0-IV; Fri, 11 Feb 2022 14:30:39 +0100 Received: from ore by dude.hi.pengutronix.de with local (Exim 4.94.2) (envelope-from ) id 1nIW0T-009juX-5m; Fri, 11 Feb 2022 14:30:37 +0100 From: Oleksij Rempel To: Mark Rutland , Rob Herring , Sascha Hauer , Shawn Guo , Thierry Reding , Sam Ravnborg , David Airlie , Daniel Vetter Cc: Oleksij Rempel , devicetree@vger.kernel.org, Fabio Estevam , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, NXP Linux Team , Pengutronix Kernel Team , David Jander , Robin van der Gracht , dri-devel@lists.freedesktop.org Subject: [PATCH v3 3/5] ARM: dts: imx6qdl-vicut1: add CAN termination support Date: Fri, 11 Feb 2022 14:30:33 +0100 Message-Id: <20220211133035.2321330-4-o.rempel@pengutronix.de> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220211133035.2321330-1-o.rempel@pengutronix.de> References: <20220211133035.2321330-1-o.rempel@pengutronix.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-SA-Exim-Connect-IP: 2001:67c:670:100:1d::7 X-SA-Exim-Mail-From: ore@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable 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 The gpio1 0 pin is controlling CAN termination, not USB H1 VBUS. So, remove wrong regulator and assign this gpio to new DT CAN termnation property. Signed-off-by: Oleksij Rempel --- arch/arm/boot/dts/imx6qdl-vicut1.dtsi | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/arch/arm/boot/dts/imx6qdl-vicut1.dtsi b/arch/arm/boot/dts/imx6qdl-vicut1.dtsi index b9e305774fed..1ac7e13249d2 100644 --- a/arch/arm/boot/dts/imx6qdl-vicut1.dtsi +++ b/arch/arm/boot/dts/imx6qdl-vicut1.dtsi @@ -126,15 +126,6 @@ reg_3v3: regulator-3v3 { regulator-max-microvolt = <3300000>; }; - reg_h1_vbus: regulator-h1-vbus { - compatible = "regulator-fixed"; - regulator-name = "h1-vbus"; - regulator-min-microvolt = <5000000>; - regulator-max-microvolt = <5000000>; - gpio = <&gpio1 0 GPIO_ACTIVE_HIGH>; - enable-active-high; - }; - reg_otg_vbus: regulator-otg-vbus { compatible = "regulator-fixed"; regulator-name = "otg-vbus"; @@ -212,6 +203,8 @@ IMX_AUDMUX_V2_PTCR_SYN IMX_AUDMUX_V2_PDCR_RXDSEL(0) &can1 { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_can1>; + termination-gpios = <&gpio1 0 GPIO_ACTIVE_LOW>; + termination-ohms = <150>; status = "okay"; }; @@ -492,7 +485,6 @@ &uart5 { }; &usbh1 { - vbus-supply = <®_h1_vbus>; pinctrl-names = "default"; phy_type = "utmi"; dr_mode = "host"; -- 2.30.2