Received: by 2002:a4a:311b:0:0:0:0:0 with SMTP id k27-v6csp3635484ooa; Mon, 13 Aug 2018 15:25:34 -0700 (PDT) X-Google-Smtp-Source: AA+uWPw/3zEjo9PGktJIXT/JTAxiZ8HK1fia/LTc7tFanOIVUY0SZVzSVKd7BPOGpyaQkpFOFBB3 X-Received: by 2002:a17:902:26:: with SMTP id 35-v6mr9791530pla.276.1534199134692; Mon, 13 Aug 2018 15:25:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1534199134; cv=none; d=google.com; s=arc-20160816; b=UN96hADZcYowacdkUYr84wA79sf4nf3YtnP590ZVtzWrWPkEDcksTRnJ60x8IGDVzj vSdYiuepaNZGVihPTDV5w1bz1ZvV/CGzXCITEtJm1KOVdRKQaeiqFxxV8pu23WokfEZq eWOUeGvCOtfHxBD3wWa8gJH/6KPtvFHpTmW80b4P1NaNc6jCV5qVfr4BIsFQhBphop/Z 6erFNXQa5++cy0o+CCLpD3W65mpol8e3gCQ085OfH3cDGKa/WejzvmyxNXFsI7j593fs kMUyDRAfIhCeCK6DyJciOqBuVfvECgL7nFG7FwoYPyaHkFdrd5txDl0xLweYXhOtldt9 72xQ== 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:arc-authentication-results; bh=LPXTQfapscXylWkPR7SEXzXrYHKBkgv/EkvtxS2YDV8=; b=ppUVPg1mbDXsfIaa7CuO2K1FerN1lsyKSc5c7jR36ubjEAn1AiL5O6G4LovAKekVsc TfrBC/Th0LOoRMMkS2+WbDpGq7iYHp8cOS6jerNCCavURMlD3PWYOnUb7hoFADAJuXLg jhkmPC9KzaWBFJBGRBnyTtXBb7sr+o9rq6PGM1P0pBGDjDVd3u411BNnmla8axOlEUv1 DQfd3+xTWm5iHmu1s51+9Es/TOub1F1JFRDs2XFcQ8ZauZiNw1qOofHJ4+mPZE1E71zy IiGbxUI///cbo7C/ck5VaYxkbuND4+DcpnJJg2SqhMclQru63QN3ODeUSMEbz2XlV3hH 47jg== 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 m11-v6si15155900pla.45.2018.08.13.15.25.19; Mon, 13 Aug 2018 15:25:34 -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=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730862AbeHNAcD (ORCPT + 99 others); Mon, 13 Aug 2018 20:32:03 -0400 Received: from mail-io0-f195.google.com ([209.85.223.195]:34761 "EHLO mail-io0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730027AbeHNAcB (ORCPT ); Mon, 13 Aug 2018 20:32:01 -0400 Received: by mail-io0-f195.google.com with SMTP id l7-v6so16387540ioj.1; Mon, 13 Aug 2018 14:47:57 -0700 (PDT) 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=LPXTQfapscXylWkPR7SEXzXrYHKBkgv/EkvtxS2YDV8=; b=OqegXrXogLfZMv2EQcg9kIeYgYL6/ESQdxklThMlwInCfGWSQxHL7yotOhC2lihPaM 464V2HICFPfwBRptaWz8CzUGSrC/nP2Ueyfup23RItqRTjKgdBuqoaefU9EpLrl12MYg gy1GnfQHXeyySYPhBZbIuPbQCnGdaWPcEVuCAH8Pp6fnAaqhSiuiCjU1jmc85LEobqhP On2VtVBjh0J52FP/e15yaEJNXfHNjbrGqgILtUGP3juts2THRqwZdAO5r8mBpadEXMOg JCk83kJrJDYg2JNRGv35yhdKuSKIhFJsTtAU0J5oas9CvuEZS7bFV+ZFCJZxPESnimDb NbUA== X-Gm-Message-State: AOUpUlFDFsBNs4EKzBgjgibiDChvgqg742wGhoNNfv+9D706pJoddker vzWvjt7VMre6xMbxzL97VsHoLKs= X-Received: by 2002:a5e:c00d:: with SMTP id u13-v6mr17075771iol.155.1534196877113; Mon, 13 Aug 2018 14:47:57 -0700 (PDT) Received: from localhost ([24.51.61.72]) by smtp.gmail.com with ESMTPSA id l13-v6sm7271366itb.43.2018.08.13.14.47.56 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 13 Aug 2018 14:47:56 -0700 (PDT) Date: Mon, 13 Aug 2018 15:47:55 -0600 From: Rob Herring To: Mike Shettel Cc: gregkh@linuxfoundation.org, boris.brezillon@bootlin.com, mark.rutland@arm.com, devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-i2c@vger.kernel.org, linux-kernel@vger.kernel.org, evgreen@chromium.org, acourbot@chromium.org, swboyd@chromium.org, dianders@chromium.org, mka@chromium.org, bjorn.andersson@linaro.org Subject: Re: [PATCH v1 2/3] dt-bindings: i3c: Document Qualcomm GENI I3C master bindings Message-ID: <20180813214755.GA18952@rob-hp-laptop> References: <1533101942-29442-1-git-send-email-mshettel@codeaurora.org> <1533101942-29442-3-git-send-email-mshettel@codeaurora.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1533101942-29442-3-git-send-email-mshettel@codeaurora.org> User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jul 31, 2018 at 11:39:01PM -0600, Mike Shettel wrote: > Signed-off-by: Mike Shettel > --- > .../devicetree/bindings/i3c/qcom,geni-i3c.txt | 44 ++++++++++++++++++++++ > 1 file changed, 44 insertions(+) > create mode 100644 Documentation/devicetree/bindings/i3c/qcom,geni-i3c.txt > > diff --git a/Documentation/devicetree/bindings/i3c/qcom,geni-i3c.txt b/Documentation/devicetree/bindings/i3c/qcom,geni-i3c.txt > new file mode 100644 > index 0000000..8b76fda > --- /dev/null > +++ b/Documentation/devicetree/bindings/i3c/qcom,geni-i3c.txt > @@ -0,0 +1,44 @@ > +Bindings for Qualcomm Geni I3C master block > +=========================================== > + > +Required properties: > +-------------------- > +- compatible: shall be "qcom,geni-i3c" > +- clocks: shall reference the se clock > +- clock-names: shall contain clock name corresponding to the serial engine What's the name? > +- interrupts: the interrupt line connected to this I3C master > +- reg: I3C master registers > + > +Optional properties: > +-------------------- > +- se-clock-frequency: Source serial clock frequency to use You should be able to figure out this frequency based on available dividers and the specified bus frequencies. Or use assigned-clocks. > +- dfs-index: Dynamic frequency scaling table index to use Needs a vendor prefix. > + > +Mandatory properties defined by the generic binding (see > +Documentation/devicetree/bindings/i3c/i3c.txt for more details): > + > +- #address-cells: shall be set to 3 > +- #size-cells: shall be set to 0 > + > +Optional properties defined by the generic binding (see > +Documentation/devicetree/bindings/i3c/i3c.txt for more details): > + > +- i2c-scl-hz > +- i3c-scl-hz + > +I3C device connected on the bus follow the generic description (see > +Documentation/devicetree/bindings/i3c/i3c.txt for more details). > + > +Example: > + > + i3c-master@0d040000 { > + compatible = "qcom,geni-i3c"; > + clocks = <&clock_gcc GCC_QUPV3_WRAP0_S0_CLK>; > + clock-names = "se"; > + interrupts = ; > + reg = <0x0d040000 0x4000>; > + #address-cells = <3>; > + #size-cells = <0>; > + i2c-scl-hz = <100000>; > + }; > + > -- > The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, > a Linux Foundation Collaborative Project >