Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp2295832ybl; Thu, 19 Dec 2019 11:09:45 -0800 (PST) X-Google-Smtp-Source: APXvYqySFGPFFRM5OTxXClCFhbpYyCfF363PD3ITDbsgf+ZVUWIFN8I12XxH7uLgo3d7yRoHIDlB X-Received: by 2002:a9d:7c91:: with SMTP id q17mr9924406otn.70.1576782584949; Thu, 19 Dec 2019 11:09:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1576782584; cv=none; d=google.com; s=arc-20160816; b=uaK8JSNQPxZ7vuc1n5c/OWkRGR0HDPRvMLHLssAYMv3S65R5LwfxDYgVKeODiEt9NY ZCu5lYbo+l6nu9RXLKqJ0QybO+200/sgtPnoE/O3nH0dmuRww2iju3xBV3Z/2ohNmFqH ke2ZNvncCMlc0TdYLTFD2bQ+soNeBhc+Kng81WMok+Sw4vt7crA5DtYOWE21w/tLMpNm 9CeKyZA2+h6Ba0xMD7snWKi2Wrbxj1zUc7uTU5OPxILAqAMfAgKFyos3ajjgkFMGnrrO fpPMIiFiFoKwwALFukLG4zpX9gSjxb7dr7zcrtUt3z3NBBk691AChjaS6P7vLq+Sjih4 ZSZA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=QsMq4tK6Zqo8Cpzm50yk74qQajXSjQqRrWgVIrvvuts=; b=UgLaUenDu7g3xG9/fYoY4KSsEuGZwaw23NQ34mZ6nh+vvNOo/FRMj4Mdpy+y/ngJbs 6R79wA7WBz7dpsxPAQpc15CUkeyzFdutde7ifD5Kb4osqx18tnuudcVuirgMa+dPtO6A d1W2V1izln3jYjjnSCvgFYsDS5j2vayyrDDe0zlQmc7B3I5AO4mrP+LBO6nWaLzAgq3v 7/p810ty4adP9JPBhePxX85QEnE68NH0HtHETYyN2r/z2emaqb1dhwqQFbtQaj4ti7m5 3p43YYLaOE5RHnFu23BOpwhtjfk7D2/LFL074+RuWn5LDoymnPnE0TRPH7iEsypv+/C7 uXkQ== 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=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q20si4942023otr.162.2019.12.19.11.09.33; Thu, 19 Dec 2019 11:09:44 -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=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728942AbfLSTIh (ORCPT + 99 others); Thu, 19 Dec 2019 14:08:37 -0500 Received: from mail-ot1-f65.google.com ([209.85.210.65]:45785 "EHLO mail-ot1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727209AbfLSTIg (ORCPT ); Thu, 19 Dec 2019 14:08:36 -0500 Received: by mail-ot1-f65.google.com with SMTP id 59so8429083otp.12; Thu, 19 Dec 2019 11:08:36 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=QsMq4tK6Zqo8Cpzm50yk74qQajXSjQqRrWgVIrvvuts=; b=Xk2P4fp4Ski6KcDfQzGm5eFD3wPRRBveSrwLC3srh3QUtbuP4Lx1YfIplB3Nkn86gH 3DtlbmCEt0sa4JboTQGfgh8Ubs2K5NarzZLIsvtRALPFOmt8bYX9AUPk6yqkuAsVdue5 8tSTldj1a4+BIyIymz8BK38WfUfQIPMrPD76+8RphkPIwIl1Em6Uwb1lpiJ8inuKshhV GqpCxZsrSY8TPHQ9gioUg/hm9GNLfjp9/+FVSLW+XAKmnIqR1TxYeLOwPtauR/bxL/zL JiiC+8vHoGvzeH1lw74SRn0GnaWYn6rqaXjMInRy8llXO+Li6P5aIdyQ5IUmcWy8YUfB ujdg== X-Gm-Message-State: APjAAAWTmf4Mk7JvDsmQ6liPAIjNOQhUl73bmSV/JD6hYshLShlgR7nS eKLYsDejM1NxtqpkQ0NlKw== X-Received: by 2002:a9d:4d99:: with SMTP id u25mr9960611otk.56.1576782516136; Thu, 19 Dec 2019 11:08:36 -0800 (PST) Received: from localhost ([2607:fb90:bdf:98e:3549:d84c:9720:edb4]) by smtp.gmail.com with ESMTPSA id f3sm2403895oto.57.2019.12.19.11.08.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 Dec 2019 11:08:35 -0800 (PST) Date: Thu, 19 Dec 2019 13:08:33 -0600 From: Rob Herring To: Jyri Sarha Cc: kishon@ti.com, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, tomi.valkeinen@ti.com, praneeth@ti.com, yamonkar@cadence.com, sjakhade@cadence.com, rogerq@ti.com Subject: Re: [PATCH 2/3] dt-bindings: phy: Add lane-mode property to WIZ (SERDES wrapper) Message-ID: <20191219190833.GA16358@bogus> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Dec 09, 2019 at 06:22:11PM +0200, Jyri Sarha wrote: > Add property to indicate the usage of SERDES lane controlled by the > WIZ wrapper. The wrapper configuration has some variation depending on > how each lane is going to be used. > > Signed-off-by: Jyri Sarha > --- > .../devicetree/bindings/phy/ti,phy-j721e-wiz.yaml | 12 ++++++++++++ > 1 file changed, 12 insertions(+) > > diff --git a/Documentation/devicetree/bindings/phy/ti,phy-j721e-wiz.yaml b/Documentation/devicetree/bindings/phy/ti,phy-j721e-wiz.yaml > index 94e3b4b5ed8e..399725f65278 100644 > --- a/Documentation/devicetree/bindings/phy/ti,phy-j721e-wiz.yaml > +++ b/Documentation/devicetree/bindings/phy/ti,phy-j721e-wiz.yaml > @@ -97,6 +97,18 @@ patternProperties: > Torrent SERDES should follow the bindings specified in > Documentation/devicetree/bindings/phy/phy-cadence-dp.txt > > + "^lane[1-4]-mode$": > + allOf: > + - $ref: /schemas/types.yaml#/definitions/uint32 > + - enum: [0, 1, 2, 3, 4, 5, 6] > + description: | > + Integer describing static lane usage for the lane indicated in > + the property name. For Sierra there may be properties lane0 and > + lane1, for Torrent all lane[1-4]-mode properties may be > + there. The constants to indicate the lane usage are defined in > + "include/dt-bindings/phy/phy.h". The lane is assumed to be unused > + if its lane-use property does not exist. The defines were intended to be in 'phys' cells. Does putting both lane and mode in the client 'phys' properties not work? Rob