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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9C9A0C433F5 for ; Tue, 23 Nov 2021 08:13:18 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234725AbhKWIQZ (ORCPT ); Tue, 23 Nov 2021 03:16:25 -0500 Received: from fllv0015.ext.ti.com ([198.47.19.141]:51140 "EHLO fllv0015.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234559AbhKWIQT (ORCPT ); Tue, 23 Nov 2021 03:16:19 -0500 Received: from fllv0034.itg.ti.com ([10.64.40.246]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id 1AN8D0cm018430; Tue, 23 Nov 2021 02:13:00 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1637655180; bh=F9DCa620EBhOWSMGuwO/rTA9ebG6ER5N7DJdYv3qsog=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=DIC88gBPVJk2CJtZjmUJDxcfmJWUev6JfwDKyn6lrX4zMvEYV5yFrK0qlb1j8zBN6 82qWKwqowb4fT43d8AdHM8Yq5yDLRvrXeHVse3015mrljojUcS5IaRbqJZM6vfVQFH 58r3wAR75lrLZRAeST0z3sl7nVZzx0C68sax/H7k= Received: from DLEE100.ent.ti.com (dlee100.ent.ti.com [157.170.170.30]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 1AN8D0uC017678 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 23 Nov 2021 02:13:00 -0600 Received: from DLEE104.ent.ti.com (157.170.170.34) by DLEE100.ent.ti.com (157.170.170.30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2308.14; Tue, 23 Nov 2021 02:12:38 -0600 Received: from lelv0326.itg.ti.com (10.180.67.84) by DLEE104.ent.ti.com (157.170.170.34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2308.14 via Frontend Transport; Tue, 23 Nov 2021 02:12:38 -0600 Received: from gsaswath-HP-ProBook-640-G5.dal.design.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by lelv0326.itg.ti.com (8.15.2/8.15.2) with ESMTP id 1AN8CNe0101399; Tue, 23 Nov 2021 02:12:35 -0600 From: Aswath Govindraju CC: Vignesh Raghavendra , Nishanth Menon , Aswath Govindraju , Peter Rosin , Rob Herring , Wolfgang Grandegger , Marc Kleine-Budde , Kishon Vijay Abraham I , Vinod Koul , , , , Subject: [PATCH RFC v3 2/4] dt-bindings: phy: ti,tcan104x-can: Document mux-controls property Date: Tue, 23 Nov 2021 13:42:19 +0530 Message-ID: <20211123081222.27979-3-a-govindraju@ti.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20211123081222.27979-1-a-govindraju@ti.com> References: <20211123081222.27979-1-a-govindraju@ti.com> MIME-Version: 1.0 Content-Type: text/plain X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 To: unlisted-recipients:; (no To-header on input) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On some boards, for routing CAN signals from controller to transceivers, muxes might need to be set. Use mux-controls property can be used for model this. Signed-off-by: Aswath Govindraju --- .../devicetree/bindings/phy/ti,tcan104x-can.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Documentation/devicetree/bindings/phy/ti,tcan104x-can.yaml b/Documentation/devicetree/bindings/phy/ti,tcan104x-can.yaml index 6107880e5246..7392088cf060 100644 --- a/Documentation/devicetree/bindings/phy/ti,tcan104x-can.yaml +++ b/Documentation/devicetree/bindings/phy/ti,tcan104x-can.yaml @@ -37,6 +37,13 @@ properties: max bit rate supported in bps minimum: 1 + mux-controls: + description: + mux controller node to route the signals from controller to + transceiver. The first and second arguments can be used + representing the line in the mux-controller to control and + the state to be set in the given line respectively. + required: - compatible - '#phy-cells' @@ -53,4 +60,5 @@ examples: max-bitrate = <5000000>; standby-gpios = <&wakeup_gpio1 16 GPIO_ACTIVE_LOW>; enable-gpios = <&main_gpio1 67 GPIO_ACTIVE_HIGH>; + mux-controls = <&mux0 0 1>; }; -- 2.17.1