Received: by 2002:a05:6a10:17d3:0:0:0:0 with SMTP id hz19csp348118pxb; Wed, 14 Apr 2021 17:26:45 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx6nACZYgImvPOoyouHD6LlnAMGwHh2pHY+WYbImLSex2OlOot2rZyjI69tVVy+R0/t8EGs X-Received: by 2002:a62:6585:0:b029:241:cf5d:93b2 with SMTP id z127-20020a6265850000b0290241cf5d93b2mr655385pfb.15.1618446405229; Wed, 14 Apr 2021 17:26:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1618446405; cv=none; d=google.com; s=arc-20160816; b=FYXfKwwG/8rv+/VKfFNZlNwHVTYVzdJr4gcIV1oDqlRm94001dxz6TR+2VFuflX1YZ eKjqyGRqMLpK0swFhXC2uY7RNsPmbfQ06ljGMrr5QPJlKGOT01ZFiqbpjctq1IQNV13B QTl1lSHUyHeSGr9dNcQb+puzwNmHbJ37kai0Ylr1El3z8Iz7714QSvbhUwl0L35eGf9m po5TUsKK0TbPkOxqaqATFUUHPAZ6aPswIqXGUaihpyQn6GuaPdZsr0nC+1KQ/4twLEiV X3u33kd9/G0YLly+d4OOHKZU46QK8aqRyZI5oLcNYSPbWGiUVHslC+vhZ1pwGNDxSLrj WdQA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=SquDUiPngSwrW4b6IjS70OYb7L7/gAGj8BPEFeGyXCM=; b=XonrnPfxrCHO6q6mQKaA9/6jwGB+ayWCpG9VRGsaDev8zdUUXZ0g8TtZ4hcBXTrUiY S3m+M28zblhl4yxAFiCRFvngzl2CYtpd8+H07r4YLi8yvFAIeHFOAFgPURYv9j6MUcV9 AP3f5iNjzo72bwaYRNZTCqJjBh79tjY8HxZyfO+O/sBWQ31XswnYWK0/g1DWEqOcpzNZ EkI/lBXmwpuH4WC2ikNuX7DwMb8ilmwX05NHg3bKvmNH4aWCjF8dVFOsYgMC4yXL+G37 wdqwUvFVpQ70g9kxW5RzQMH3j0HiSjz8MLiQENUmhP/aw4Pk9j3vr5aM8HvIR80S7MTi K9NQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Iks8ZnUz; 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=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id f14si1273843plr.128.2021.04.14.17.26.33; Wed, 14 Apr 2021 17:26:45 -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=@kernel.org header.s=k20201202 header.b=Iks8ZnUz; 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=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1351426AbhDNNZh (ORCPT + 99 others); Wed, 14 Apr 2021 09:25:37 -0400 Received: from mail.kernel.org ([198.145.29.99]:48530 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1351349AbhDNNZ1 (ORCPT ); Wed, 14 Apr 2021 09:25:27 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 4B7EB61132; Wed, 14 Apr 2021 13:25:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1618406705; bh=KsfaSXwOVw8QET+rbrgc/Q2gfMGscvpWJQ5f6uP0bDI=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=Iks8ZnUzibOCOteCTqLQDc3sO5dWbVeFufkJSHTUyiuVNtcpRqRXS0SLs11jkHmkb MM3xrtvIwsBTm4XeXa+KJBW5otpGgsXJdBf1PLWoFl6S+6jknNP+IEbgGHPls7OmuQ kHZnazrVjYdMCTbHdbaTM5brZS9X3pnAGdhY44N6GEnw95SrMNdrMDcDwkciMq/Ps/ ffiJEXI7SmS/tWpFVde8yq8BhxsCkNgrrh030U5t5Z0HuTWY+1VXdnFLwC83BoOBOe b0rnWYbgFPS4Xq0+Lz4Jqn8YGEFMv/iS7JktC43lK2k8yNa3ddhxjTHd2GzY/MAK3Z GW8y9TNcG0/KA== Received: by mail-qt1-f181.google.com with SMTP id y2so15369137qtw.13; Wed, 14 Apr 2021 06:25:05 -0700 (PDT) X-Gm-Message-State: AOAM532rKQpNZzGme299M/aVLuKhG/gFDtGPqldHy/7NodD/sBWr1Npy CK4qHwXhAVtJtRDx2Xm4/3u3ldV/kEs8uFExLA== X-Received: by 2002:a05:622a:8:: with SMTP id x8mr26156855qtw.31.1618406704544; Wed, 14 Apr 2021 06:25:04 -0700 (PDT) MIME-Version: 1.0 References: <20210409134056.18740-1-a-govindraju@ti.com> <20210409134056.18740-4-a-govindraju@ti.com> <20210412175134.GA4109207@robh.at.kernel.org> In-Reply-To: From: Rob Herring Date: Wed, 14 Apr 2021 08:24:52 -0500 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 3/4] dt-bindings: net: can: Document transceiver implementation as phy To: Aswath Govindraju Cc: Vignesh Raghavendra , Kishon Vijay Abraham I , Lokesh Vutla , Grygorii Strashko , Faiz Abbas , Chandrasekar Ramakrishnan , Wolfgang Grandegger , Marc Kleine-Budde , "David S. Miller" , Jakub Kicinski , Vinod Koul , Sriram Dash , linux-can@vger.kernel.org, netdev , devicetree@vger.kernel.org, "linux-kernel@vger.kernel.org" , linux-phy@lists.infradead.org Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Apr 14, 2021 at 1:49 AM Aswath Govindraju wrote: > > Hi Rob, > > On 12/04/21 11:21 pm, Rob Herring wrote: > > On Fri, Apr 09, 2021 at 07:10:53PM +0530, Aswath Govindraju wrote: > >> From: Faiz Abbas > >> > >> Some transceivers need a configuration step (for example, pulling the > >> standby or enable lines) for them to start sending messages. The > >> transceiver can be implemented as a phy with the configuration done in the > >> phy driver. The bit rate limitation can the be obtained by the driver using > >> the phy node. > >> > >> Document the above implementation in the bosch mcan bindings > >> > >> Signed-off-by: Faiz Abbas > >> Signed-off-by: Aswath Govindraju > >> --- > >> Documentation/devicetree/bindings/net/can/bosch,m_can.yaml | 6 ++++++ > >> 1 file changed, 6 insertions(+) > >> > >> diff --git a/Documentation/devicetree/bindings/net/can/bosch,m_can.yaml b/Documentation/devicetree/bindings/net/can/bosch,m_can.yaml > >> index 798fa5fb7bb2..2c01899b1a3e 100644 > >> --- a/Documentation/devicetree/bindings/net/can/bosch,m_can.yaml > >> +++ b/Documentation/devicetree/bindings/net/can/bosch,m_can.yaml > >> @@ -109,6 +109,12 @@ properties: > >> can-transceiver: > >> $ref: can-transceiver.yaml# > >> > >> + phys: > >> + minItems: 1 > > > > maxItems: 1 > > Will add this in the respin. > > > > >> + > >> + phy-names: > >> + const: can_transceiver > > > > Kind of a pointless name. You don't really need a name if there's a > > single entry. > > > > This name used by devm_phy_optional_get() in m_can driver to get the phy > data structure. With no name, you'll get the 1st one. Looks like the phy subsystem warns on this. That's wrong, so please fix that. Rob