Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp350990yba; Fri, 26 Apr 2019 00:52:09 -0700 (PDT) X-Google-Smtp-Source: APXvYqxSTxwBbjuknanXKpZzHKFrJ5+kZekmGQfwZ/tT0rThdSVOeLZoceBaCzTwML05iYtkZpAc X-Received: by 2002:a17:902:694c:: with SMTP id k12mr43293983plt.149.1556265129606; Fri, 26 Apr 2019 00:52:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556265129; cv=none; d=google.com; s=arc-20160816; b=zN7MLrDgs5cr+XqjccPWBa/qcZy7rt7SW2FReyRb4wdbE4Qvw5i8HYgif2VuaB61eb saiZNinLOlsJzP1ypCvp2StyI7vnzwUhAKis4lz1/cLfAXINAPK+VPjblKxgybNoAEup 117Hg5B8vpgDUd96bHaDIPq8dPUbCu+zCM7LcLfWnBewCnN/B6JBdW83e8wdFk2W0Fnj SpRdHc2RqRuxAJmboe8GkZ1GBP5+8pLqcMdei1MeIrrMbitrvGUmY+omjAlbUDkeksmN cEW9RSo426MJtDLbjQKLmUsXSwId3DjRGDYcZJWEqJ+JNuRCYP9PWH2JbvsKa8A1btVQ o46A== 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:dkim-signature; bh=isa+lVye5iESSUHdmV4X0RQwaweSxh690t7x5lg54yk=; b=I91huePFkyLkLM0hmyRMEbT2xa3iDG0w3MPlaL7pelcLpxDAflNn4nFFIeN1Rl4GUU IOhLGkFGvDctW3Z2Ng1103E5UzAK48bQCNtT4sHvkaXxYdyoI4e2grAxLelvtFe04O6H 4Bd7DcHiSQaD5+No0THzG4GRyb4F4YqZRW01V2WaZ6aleTvn3lUDwot2zX9D5QfV3fsR DGK+FeQCTukBxRxpIDLPVnlEJU+RpsMCzOiQSC4VhHeL/ZRBH42iPjHbTlrTM2UsdXqW A6WoA4uYyOosL12UGdnFiOOh7fA2+oEyBd0rf0MqGcwy/bQQkMxOKaA5/Jijlof/hMLH nLqg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=ws1ObVni; 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=pass (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 a3si24561947pfc.276.2019.04.26.00.51.54; Fri, 26 Apr 2019 00:52: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; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=ws1ObVni; 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=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726267AbfDZHui (ORCPT + 99 others); Fri, 26 Apr 2019 03:50:38 -0400 Received: from lelv0143.ext.ti.com ([198.47.23.248]:60312 "EHLO lelv0143.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725893AbfDZHuh (ORCPT ); Fri, 26 Apr 2019 03:50:37 -0400 Received: from lelv0265.itg.ti.com ([10.180.67.224]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id x3Q7oUiN108277; Fri, 26 Apr 2019 02:50:30 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1556265030; bh=isa+lVye5iESSUHdmV4X0RQwaweSxh690t7x5lg54yk=; h=Subject:To:CC:References:From:Date:In-Reply-To; b=ws1ObVniiTcLCQn7xDLe3VPLaxwKhjOrOyL6XOSnz13V02CMET3PuRZnud40R22fa O1OKmXh5eovhT2+QdseotbrX2KCnm4jyaahClpvN8mjDqdHY2GqIBgevipUDyDrAtX FiNW2O3wyZsb9I9Bwd8aVrKgM4sWpByKVTCxspuU= Received: from DFLE109.ent.ti.com (dfle109.ent.ti.com [10.64.6.30]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id x3Q7oUpw120486 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 26 Apr 2019 02:50:30 -0500 Received: from DFLE106.ent.ti.com (10.64.6.27) by DFLE109.ent.ti.com (10.64.6.30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1713.5; Fri, 26 Apr 2019 02:50:30 -0500 Received: from lelv0327.itg.ti.com (10.180.67.183) by DFLE106.ent.ti.com (10.64.6.27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1713.5 via Frontend Transport; Fri, 26 Apr 2019 02:50:30 -0500 Received: from [172.22.140.253] (ileax41-snat.itg.ti.com [10.172.224.153]) by lelv0327.itg.ti.com (8.15.2/8.15.2) with ESMTP id x3Q7oQTl104377; Fri, 26 Apr 2019 02:50:26 -0500 Subject: Re: [RFC PATCH v3 net-next 06/11] dt-bindings: net: ti: add new cpsw switch driver bindings To: Andrew Lunn CC: , Ilias Apalodimas , "David S . Miller" , Ivan Khoronzhuk , Jiri Pirko , Florian Fainelli , Sekhar Nori , , , Murali Karicheri , Ivan Vecera References: <1556144667-27997-1-git-send-email-grygorii.strashko@ti.com> <1556144667-27997-7-git-send-email-grygorii.strashko@ti.com> <20190425224021.GA4041@lunn.ch> From: Grygorii Strashko Message-ID: <4dc2a645-4769-e873-d5d3-b6ef74367ca3@ti.com> Date: Fri, 26 Apr 2019 10:50:25 +0300 User-Agent: Mozilla/5.0 (X11; Linux i686; rv:60.0) Gecko/20100101 Thunderbird/60.4.0 MIME-Version: 1.0 In-Reply-To: <20190425224021.GA4041@lunn.ch> 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 On 26.04.19 01:40, Andrew Lunn wrote: >> +Required Sub-nodes: >> +- ports : contains CPSW external ports descriptions >> + Required properties: >> + - #address-cells : Must be 1 >> + - #size-cells : Must be 0 >> + - reg : CPSW port number. Should be 1 or 2 >> + - phys : phandle on phy-gmii-sel PHY (see phy/ti-phy-gmii-sel.txt) >> + - phy-mode : operation mode of the PHY interface [1] >> + - phy-handle : phandle to a PHY on an MDIO bus [1] > > >> + cpsw_port1: port@1 { >> + reg = <1>; >> + ti,label = "port1"; >> + /* Filled in by U-Boot */ >> + mac-address = [ 00 00 00 00 00 00 ]; >> + phys = <&phy_gmii_sel 1>; > > Hi Grygorii > > phy-mode and phy-handle are required, but missing from your example. > > Otherwise, this looks like a reasonable binding. Yea. they configured in board files - will add. Thanks. -- Best regards, grygorii