Received: by 2002:ac0:98c7:0:0:0:0:0 with SMTP id g7-v6csp2496656imd; Fri, 2 Nov 2018 12:27:09 -0700 (PDT) X-Google-Smtp-Source: AJdET5ckDXZ7mivhAEXxCVio2F/z3r7+7E160pwFr8Yhw0+ppZAlm4rqBc9zeFZ1VxeRhR9zXdSX X-Received: by 2002:a17:902:7682:: with SMTP id m2-v6mr12966077pll.89.1541186829260; Fri, 02 Nov 2018 12:27:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1541186829; cv=none; d=google.com; s=arc-20160816; b=gcBTIIEwlqbRjOW6I+RrImMpR1p4h1C1n5Beq8eHssLnmAdfgDW3SGueOw19oFF/uj I2LDC+7L/pWboRXxpR3BMvJTV/w/gd+cH764POPrng1LnUM3eaDpcB2Kew1urc4w56K/ uIk7d6c8nDFZetxoIw0ArZO5IUuVxRoh9Wm2EXld1wb+5ZgSeE2adripAtE6oAnryn12 fJBNN0qWkfxpZCN6qsLZKVg4f8iMm+pR7q6RVRhXuSlabH6Sn9DiO9Lb/bUbd2Rrioke ROytP9AGWd8sort4DFF27vpdtMlKf1U86MakuaWgavpuT0XQDEKO0Qxd/FnprBCkSj9A Lrmg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from; bh=NnzHTKvTjEZD2iz2+ApJ0S5TpgSiUEW/9tqtdNDLtFk=; b=B4sVdn0GDpRklV+e+PXccVsGEQjmC2wJXVJT33H20LQAL/MqOFJquee07wJHP8tW2X vnkkkdxkjbYDYofJsM2Solm0kD1t1Irc2c6NBWMA95ov34Nppwmwn3oaAf4JMIzxfsM6 54DGnbS/cyUiAQkdz0J2TmU1TwHhL2v9Ww1NsoGhae6tF7okrjeQaww1k1vjC3J168Po LlaYlpjKWSFqE3ApOuqIaUIxFu/XQRETdqh7EG8tKgnd/inBS5YK1gSYiIJVG4Hpcyh4 r2ec7OwYMlVyyMeCH8rDApfunpl2h38fuSP3suzEu+eXZMHctgcd0vgL+QL+2ZOrLol2 RsKw== 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 z20-v6si34539901pfe.245.2018.11.02.12.26.54; Fri, 02 Nov 2018 12:27:09 -0700 (PDT) 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 S1727727AbeKCEc2 (ORCPT + 99 others); Sat, 3 Nov 2018 00:32:28 -0400 Received: from fllv0016.ext.ti.com ([198.47.19.142]:54046 "EHLO fllv0016.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726550AbeKCEcY (ORCPT ); Sat, 3 Nov 2018 00:32:24 -0400 Received: from fllv0035.itg.ti.com ([10.64.41.0]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id wA2JNpZm078001; Fri, 2 Nov 2018 14:23:51 -0500 Received: from DFLE113.ent.ti.com (dfle113.ent.ti.com [10.64.6.34]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTPS id wA2JNpTh045127 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 2 Nov 2018 14:23:51 -0500 Received: from DFLE115.ent.ti.com (10.64.6.36) by DFLE113.ent.ti.com (10.64.6.34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1466.3; Fri, 2 Nov 2018 14:23:50 -0500 Received: from dlep33.itg.ti.com (157.170.170.75) by DFLE115.ent.ti.com (10.64.6.36) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1466.3 via Frontend Transport; Fri, 2 Nov 2018 14:23:50 -0500 Received: from a0230074-OptiPlex-7010.india.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by dlep33.itg.ti.com (8.14.3/8.13.8) with ESMTP id wA2JNfvW000522; Fri, 2 Nov 2018 14:23:48 -0500 From: Faiz Abbas To: , , , CC: , , , , , Subject: [PATCH 2/6] dt-bindings: phy: phy-of-simple: Document new binding Date: Sat, 3 Nov 2018 00:56:12 +0530 Message-ID: <20181102192616.28291-3-faiz_abbas@ti.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20181102192616.28291-1-faiz_abbas@ti.com> References: <20181102192616.28291-1-faiz_abbas@ti.com> MIME-Version: 1.0 Content-Type: text/plain 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 Add documentation for the generic simple phy implementation. Signed-off-by: Faiz Abbas --- .../devicetree/bindings/phy/phy-of-simple.txt | 29 +++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 Documentation/devicetree/bindings/phy/phy-of-simple.txt diff --git a/Documentation/devicetree/bindings/phy/phy-of-simple.txt b/Documentation/devicetree/bindings/phy/phy-of-simple.txt new file mode 100644 index 000000000000..696f2763395c --- /dev/null +++ b/Documentation/devicetree/bindings/phy/phy-of-simple.txt @@ -0,0 +1,29 @@ +Generic simple phy device tree binding +-------------------------------------- + +A good number of phy implementations merely read dts properties, +enable clocks, regulators or do resets without having a dedicated register +map. This binding implements a generic phy driver which can be used for +such simple implementations and avoid boilerplate code duplication. + +Required Properties: +- compatible : must be "simple-phy" +- phy-cells : must be 0 + +Optional Properties: +- bus-width : generic bus-width. Must be positive. +- max-bitrate : generic max-bitrate. Must be positive. +- pwr : phandle to phy pwr regulator node. + +Example: + +The following example is a can transceiver implemented as a generic phy. +It has a max-bitrate property and a pwr regulator. + + +transceiver1: can-transceiver { + compatible = "simple-phy"; + max-bitrate = <5000000>; + pwr-supply = <&transceiver1_fixed>; + #phy-cells = <0>; +}; -- 2.18.0