Received: by 2002:a05:6a10:17d3:0:0:0:0 with SMTP id hz19csp246543pxb; Fri, 16 Apr 2021 04:48:24 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxATNw3XUJ0S/E2ZiKtkOuahLLMWz8dTQCuFW4POJ+a6lUKV+W0j/I4ewMycXDXhE4R6FEc X-Received: by 2002:aa7:8dda:0:b029:1fa:19b3:7ed9 with SMTP id j26-20020aa78dda0000b02901fa19b37ed9mr7925734pfr.32.1618573704614; Fri, 16 Apr 2021 04:48:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1618573704; cv=none; d=google.com; s=arc-20160816; b=tbOPK5I1iJzSfpBJGMcA4WCvoZM4vFvhYJxHzgiHRdOmdDyBWA+I53lW+Aj+3z3Cyn Uck66MHT3bjNXpyf+/CWKjY/a0ik0rVlXjiWiB/piDhkykWzPojcRFOEbi+PcDCDLI04 i81vBSevuUgBY5kAL+KZxWP6lm5gNqTVMv36mBcgCQUnz4AuVDbGTWdSA54yDCMxJb0v zXvs8I+1DXD61K1gWPSY3ZQCs9oKT09BojenKe3CJeJjBsKaykZNQvHf1DxS0TAdYnST VnuxsdrU4XRHYewreWSrIx1+L7Lr9VceXb4UR4Rb7y5+dY6cnQO1stFEYgFHyiYPH695 M5SQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:to:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:subject:dkim-signature; bh=LQzKzUALcHK7bf23nielNUyEdHtTqb3reVqwKHmjS60=; b=MCupripiS7mM3NN6LfwGUKA1eZcMz7Yfuw4RUbtGUvJVRh2cvnMlhbRZeumQGRGHqE TYZl2JP3U+4Yv9v3SwKR48bUadlCx1ZsrrI14zhzL48gHzlnOGnqm/x+5RugBH6t+BWd YhGzL83dYor2iY3nD6n3PmfjXEBOChOs29FpaMkd2m9o/7sWgoScrtclQFy3aWdQwvFx tJ2Z8IFNRmI4O1seZh+H3m1PMavwq4Fh0I/uR+MFI5D6Jv7Ceit31J8auUNj+NMFTwgz UUdaKjSN/2nSqDlH4SlwbEJ1sSh9bWgjzMhnu+i5FTboo1UqOgbJ9OO7MvIlZUe5FM7Q 0XrA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b="wKWu8/zh"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i6si6658465pjw.14.2021.04.16.04.48.12; Fri, 16 Apr 2021 04:48:24 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b="wKWu8/zh"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239007AbhDPLpp (ORCPT + 99 others); Fri, 16 Apr 2021 07:45:45 -0400 Received: from fllv0016.ext.ti.com ([198.47.19.142]:54500 "EHLO fllv0016.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229706AbhDPLpo (ORCPT ); Fri, 16 Apr 2021 07:45:44 -0400 Received: from fllv0034.itg.ti.com ([10.64.40.246]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id 13GBjA7Q112858; Fri, 16 Apr 2021 06:45:10 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1618573510; bh=LQzKzUALcHK7bf23nielNUyEdHtTqb3reVqwKHmjS60=; h=Subject:CC:References:From:Date:In-Reply-To; b=wKWu8/zh4nW9GmATPJPPnF/1xfuI5rN3BE+Tv7pCr3pgg1uXxP/Mu4f2PQD4oLdg0 MUcVn2hRcf+Ek7zkEvXJYe85BWmI8/Slfq/6CPEDRi9FDfYuLoGh+qiERq7hEjwaRc jPSdET8Rgu6/15ZuP7w8y9CpksgLA8EIlBNu+nzw= 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 13GBjAUH101300 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 16 Apr 2021 06:45:10 -0500 Received: from DLEE107.ent.ti.com (157.170.170.37) 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.2176.2; Fri, 16 Apr 2021 06:45:10 -0500 Received: from fllv0040.itg.ti.com (10.64.41.20) by DLEE107.ent.ti.com (157.170.170.37) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2176.2 via Frontend Transport; Fri, 16 Apr 2021 06:45:10 -0500 Received: from [172.24.145.148] (ileax41-snat.itg.ti.com [10.172.224.153]) by fllv0040.itg.ti.com (8.15.2/8.15.2) with ESMTP id 13GBj5EX096321; Fri, 16 Apr 2021 06:45:06 -0500 Subject: Re: [PATCH v2 0/2] MCAN: Add support for implementing transceiver as a phy CC: , , , , Marc Kleine-Budde , Wolfgang Grandegger , Rob Herring , "David S . Miller" , Jakub Kicinski , Chandrasekar Ramakrishnan , Kishon Vijay Abraham I , Lokesh Vutla , Vignesh Raghavendra , Grygorii Strashko , Faiz Abbas References: <20210415154635.30094-1-a-govindraju@ti.com> From: Aswath Govindraju Message-ID: <2743eef1-6e20-28e5-769a-26ae8eb15dd6@ti.com> Date: Fri, 16 Apr 2021 17:15:04 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: <20210415154635.30094-1-a-govindraju@ti.com> Content-Type: text/plain; charset="utf-8" Content-Language: en-US Content-Transfer-Encoding: 7bit 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 Hi all, On 15/04/21 9:16 pm, Aswath Govindraju wrote: > The following series of patches add support for implementing the > transceiver as a phy of m_can_platform driver. > > TCAN1042 has a standby signal that needs to be pulled high for > sending/receiving messages[1]. TCAN1043 has a enable signal along with > standby signal that needs to be pulled up for sending/receiving > messages[2], and other combinations of the two lines can be used to put the > transceiver in different states to reduce power consumption. On boards > like the AM654-idk and J721e-evm these signals are controlled using gpios. > > These gpios are set in phy driver, and the transceiver can be put in > different states using phy API. The phy driver is added in the series [3]. > > This patch series is dependent on [4]. > > Changes since v1: > - Used the API devm_phy_get_optional() instead of > devm_of_phy_get_optional_by_index() > > [1] - https://www.ti.com/lit/ds/symlink/tcan1042h.pdf > [2] - https://www.ti.com/lit/ds/symlink/tcan1043-q1.pdf > [3] - https://lore.kernel.org/patchwork/project/lkml/list/?series=495365 > [4] - https://lore.kernel.org/patchwork/patch/1413286/ > Posted v3 for this series. Thanks, Aswath > Faiz Abbas (2): > dt-bindings: net: can: Document transceiver implementation as phy > can: m_can: Add support for transceiver as phy > > .../devicetree/bindings/net/can/bosch,m_can.yaml | 3 +++ > drivers/net/can/m_can/m_can.c | 10 ++++++++++ > drivers/net/can/m_can/m_can.h | 2 ++ > drivers/net/can/m_can/m_can_platform.c | 13 +++++++++++++ > 4 files changed, 28 insertions(+) >