Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp423997imu; Mon, 5 Nov 2018 03:12:28 -0800 (PST) X-Google-Smtp-Source: AJdET5eWrSInryQXQM2BR6RXA2BalCnDY+rfpxTwCJJpEwyc9OWeQsiII4ikMVLReURIJaHib/HV X-Received: by 2002:a62:1693:: with SMTP id 141-v6mr22269580pfw.183.1541416348487; Mon, 05 Nov 2018 03:12:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541416348; cv=none; d=google.com; s=arc-20160816; b=UMDBB2b2XAULy198fchYceVt919mJ+uPuUE4QqoZk4QaiuHsCJTVoFy4liMmRl/WQK dEZxt2BmUdWe3aNTXpOiVWnLCFADgaVX6p4j7rTR1EcAZv7+Q/jGv0JlxHvJzqqqfDHm uyh5wEsZ+2U5VsbTM1XD1jZ/Hy+U//YdhsbF4qLzJtSUcrtNtaLqD2tirTJ0s2be/sKe KQnfjpIM9Z5ChLo4vOY6Yv8Ryx4vG+ZARxj5KVIBmh0bv++fqpKVMUEYCi5RsrzeLy94 zXa7ubi1xWP+6s9/9mPuMStS2q+vh2krXElmgxMccojNipTeDpL7lIUovF6zYw9BfBd6 BXew== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=A+2PsDk8vgdnmxf0bPLJQynbYj7qXSiw5aydUlAlw9M=; b=eEv0c/KwdAyNJzpXzovbKTzzyhK0XcYVGyPvRDL0872X8NKfkoDYodzoNiK8SVGr2q sUL9xt6Cd99sc5U5ahKHsQbQGOJQJuslCn3hipk1EcpxYRGKXcrXIWMjL73IoqeSrrDw zE/uYvCCLxuuWKXDC96Bblbedvc05MZtlwPKwpTeD8zQpnYE4HvGmhzuprl/pmkSOYip RFc4ObK+e8ACimvkaQ0noj6TSFM868pNpQ9P4PxOeUjWQJ/L+HM3A6D0T3q7YDVL8FbG +QAA49NYtAMPfwXIzisyZyCvghD6MBcD7qiWtrWW3YGzLkBV7D1vBcojvZLvAezYB6Ge E9Ew== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k69si352216pga.176.2018.11.05.03.12.12; Mon, 05 Nov 2018 03:12:28 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729238AbeKEUbC (ORCPT + 99 others); Mon, 5 Nov 2018 15:31:02 -0500 Received: from fllv0015.ext.ti.com ([198.47.19.141]:55084 "EHLO fllv0015.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727820AbeKEUbB (ORCPT ); Mon, 5 Nov 2018 15:31:01 -0500 Received: from fllv0035.itg.ti.com ([10.64.41.0]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id wA5BBg6e123216; Mon, 5 Nov 2018 05:11:42 -0600 Received: from DFLE105.ent.ti.com (dfle105.ent.ti.com [10.64.6.26]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTPS id wA5BBgjY006644 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 5 Nov 2018 05:11:42 -0600 Received: from DFLE111.ent.ti.com (10.64.6.32) by DFLE105.ent.ti.com (10.64.6.26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1466.3; Mon, 5 Nov 2018 05:11:42 -0600 Received: from dlep33.itg.ti.com (157.170.170.75) by DFLE111.ent.ti.com (10.64.6.32) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1466.3 via Frontend Transport; Mon, 5 Nov 2018 05:11:42 -0600 Received: from [172.24.190.215] (ileax41-snat.itg.ti.com [10.172.224.153]) by dlep33.itg.ti.com (8.14.3/8.13.8) with ESMTP id wA5BBdOG024983; Mon, 5 Nov 2018 05:11:39 -0600 Subject: Re: [PATCH 1/6] phy: Add max_bitrate attribute & phy_get_max_bitrate() To: Marc Kleine-Budde , , , , CC: , , , References: <20181102192616.28291-1-faiz_abbas@ti.com> <20181102192616.28291-2-faiz_abbas@ti.com> <5e1a0b67-510a-5512-d477-0b363e4733fe@pengutronix.de> <0c0885c4-f5ae-a29c-7176-f67fe546cfd8@pengutronix.de> From: Faiz Abbas Message-ID: <5685cb49-a6bf-3696-f984-020847633e5e@ti.com> Date: Mon, 5 Nov 2018 16:44:12 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <0c0885c4-f5ae-a29c-7176-f67fe546cfd8@pengutronix.de> Content-Type: text/plain; charset="utf-8" Content-Language: en-US Content-Transfer-Encoding: 7bit X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, On Monday 05 November 2018 03:07 PM, Marc Kleine-Budde wrote: > On 11/05/2018 07:27 AM, Faiz Abbas wrote: >> I remove the transceiver child node binding documentation in patch 5/6. >> >> The existing implementation is pretty limiting as it just has a child >> node with no associated device. What if a transceiver requires its own >> configurations before it can start sending/receiving messages (for >> example, my usecase requires it to pull the standby line low)? >> >> I think that can be solved by implementing the transceiver as a phy and >> exposing a generic get_max_bitrate API. That way, the transceiver device >> can do all its startup configuration in the phy probe function. >> >> In any case, do suggest if you have a better idea on how to implement >> pull gpio low requirement. > > As long as we don't have any proper transceiver/phy driver, that does > more than swtich on/off a GPIO, please add a "xceiver" regulator to your > driver. Look for: > >> devm_regulator_get(&pdev->dev, "xceiver"); > The transceiver is not specific to m_can. The pull down would be required even if it were connected to some other controller. Thanks, Faiz