Received: by 10.213.65.68 with SMTP id h4csp2223657imn; Thu, 5 Apr 2018 11:04:25 -0700 (PDT) X-Google-Smtp-Source: AIpwx4/oRUobZ/zVS9acQonAdoJEphUjJmMfh5Cjlgee/X/v72IgHYcl4Q7GldMxoKixm+JqfZFw X-Received: by 10.99.190.75 with SMTP id g11mr15465741pgo.127.1522951465533; Thu, 05 Apr 2018 11:04:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522951465; cv=none; d=google.com; s=arc-20160816; b=vrryjzGvIN583yS2Kgbft5qF/bsM6d3nOo68hsbXWttsmPdXSnYDnmcxbERUpDvKTp GRB1lOFm+td873LrEam1O1NCybajlzg/matOe/Sg4kmnyHeSt4HQktyDYmuZsDjmC56h c9ydorE/LIoy2P94WB9spBGac1oaVKUZTAYXt8rm4ogt8VQbK3JW2sPFhAd5adlgS0ni 77im/UKz/geLfQwSyXJ8x3D7/akbZr9XkICyT9mwrF9k7KWCwuBexWE7zdqaWDf4qNqm CTk1oDgSdU8BzCL4dXj5UGU7+MwizDdLQSzrNY8M+0xbSFFM0gfa3U9QXBsddCSasnnr gd6Q== 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:dkim-signature:arc-authentication-results; bh=Bx+/9R9mxE4cBXciVaeqAFP5mA6CnCo0z562VnUSG9o=; b=I3vx7EWSthK1h1FGZUnYnEEX82wB2EulZzO+awbhEd4lc40rYo6cbGTdLNp4p2+61H v5WFCYXXYifB1YCalbbVyOJgMAg+wcbW3+Bqkeznbk6iGgTqzzqJ8iBTiAsqJsTHc6K6 xibL5/Szh+d9P9u9xGEsYbdeQBqlC2g1lKIZe4YouEfsMFaCzwCFrRJL/uXWt1G215QE Ds5a4/By1zltSjEFivmMjllbnzQ/m3pMnDI0MwdhXEkXZdGKLO1lDQDIrTS7tVGp0zjo niAJTyt+ui4zscLBYR6Ou8yHefnkuVkTHjYGKDvDiQSdZbFxBIleAESKUs0vd84gRAha GMTw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ZeA9/Dku; 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=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l61-v6si6560708plb.568.2018.04.05.11.04.11; Thu, 05 Apr 2018 11:04:25 -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=@linaro.org header.s=google header.b=ZeA9/Dku; 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=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751495AbeDESDE (ORCPT + 99 others); Thu, 5 Apr 2018 14:03:04 -0400 Received: from mail-pl0-f67.google.com ([209.85.160.67]:38658 "EHLO mail-pl0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751285AbeDESDC (ORCPT ); Thu, 5 Apr 2018 14:03:02 -0400 Received: by mail-pl0-f67.google.com with SMTP id k6-v6so15140729pls.5 for ; Thu, 05 Apr 2018 11:03:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=Bx+/9R9mxE4cBXciVaeqAFP5mA6CnCo0z562VnUSG9o=; b=ZeA9/DkuHbXAMI+yGpbgJe/OiIAVFCmgHAH9tyLQ/vjJfiqQSejwOhar/71olQPfu8 yHTAdpqVTiS8Dz9A09J1buXqWSsfEaRiNQRpcLysZZrv7CWVQi0aKpKmvlQQkFLtHujL 3yh5Ay96JJ/x9rg7bLTxGWqDG8DD6+oujbdjU= 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=Bx+/9R9mxE4cBXciVaeqAFP5mA6CnCo0z562VnUSG9o=; b=oYUJ60DsoxbZwikEkfuy1SuaeMp68Zb+yKJdM0kKVZhEGLRtpCt97Xw3Jid9HeYjlP S80FopB+Rt8lXxel2HAsQH0mLeXb19tFTqH7CjsbimveT0+t9rgIVgVR+iCb0zFy1KOq bUo4wlEU7lbfuIGMKTYNCmxl/xwyg/Y7Ly1SabGbWAjAytxKpVbzoSVQLpNWoBhFgP0c IVOgfd+piei78lLhGOzjWwISh4syhaJ3lTOUura84QRsXUoG3Sm5wN2JAogPvvJRg90n ogqnopAKRQH1HL3cty0KmfCo70wgzjd2y3R7MSUW0myBL+7xtDUBp+R7tv0j2x4zbsYD bbBA== X-Gm-Message-State: ALQs6tCm/AfENAb2qTIwobjLT7m+bs44Wm98KVgu75F57L/H/zjzuBKB EwbWR0d1cQW7CoSPwGX683+WJUcs2mI= X-Received: by 10.167.134.25 with SMTP id p25mr1455667pfn.93.1522951381405; Thu, 05 Apr 2018 11:03:01 -0700 (PDT) Received: from minitux (104-188-17-28.lightspeed.sndgca.sbcglobal.net. [104.188.17.28]) by smtp.gmail.com with ESMTPSA id d15sm18567817pfj.121.2018.04.05.11.03.00 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 05 Apr 2018 11:03:00 -0700 (PDT) Date: Thu, 5 Apr 2018 11:02:58 -0700 From: Bjorn Andersson To: Lina Iyer Cc: andy.gross@linaro.org, david.brown@linaro.org, linux-arm-msm@vger.kernel.org, linux-soc@vger.kernel.org, rnayak@codeaurora.org, linux-kernel@vger.kernel.org, sboyd@kernel.org, evgreen@chromium.org, dianders@chromium.org, devicetree@vger.kernel.org, Mahesh Sivasubramanian Subject: Re: [PATCH v6 2/2] dt-bindings: introduce Command DB for QCOM SoCs Message-ID: <20180405180258.GJ18510@minitux> References: <20180405160459.16693-1-ilina@codeaurora.org> <20180405160459.16693-3-ilina@codeaurora.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180405160459.16693-3-ilina@codeaurora.org> User-Agent: Mutt/1.9.2 (2017-12-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu 05 Apr 09:04 PDT 2018, Lina Iyer wrote: > From: Mahesh Sivasubramanian > > Command DB provides information on shared resources like clocks, > regulators etc., probed at boot by the remote subsytem and made > available in shared memory. > > Cc: devicetree@vger.kernel.org > Signed-off-by: Mahesh Sivasubramanian > Signed-off-by: Lina Iyer > --- > > Changes in v6: > - Move to bindings/reserved-memory > - Remove indirection address and use only the actual reserved > memory > > Changes in v4: > - Fix unwanted capitalization > - Add reg property > --- > .../bindings/reserved-memory/qcom,cmd-db.txt | 37 ++++++++++++++++++++++ > 1 file changed, 37 insertions(+) > create mode 100644 Documentation/devicetree/bindings/reserved-memory/qcom,cmd-db.txt > > diff --git a/Documentation/devicetree/bindings/reserved-memory/qcom,cmd-db.txt b/Documentation/devicetree/bindings/reserved-memory/qcom,cmd-db.txt > new file mode 100644 > index 000000000000..d808ada474c1 > --- /dev/null > +++ b/Documentation/devicetree/bindings/reserved-memory/qcom,cmd-db.txt > @@ -0,0 +1,37 @@ > +Command DB > +--------- > + > +Command DB is a database that provides a mapping between resource key and the > +resource address for a system resource managed by a remote processor. The data > +is stored in a shared memory region and is loaded by the remote processor. > + > +Some of the Qualcomm Technologies Inc SoC's have hardware accelerators for > +controlling shared resources. Depending on the board configuration the shared > +resource properties may change. These properties are dynamically probed by the > +remote processor and made available in the shared memory. > + > +The bindings for Command DB is specified in the reserved-memory section in > +devicetree. The devicetree representation of the command DB driver should be: > + > +Properties: > +- compatible: > + Usage: required > + Value type: > + Definition: Should be "qcom,cmd-db" > + > +- reg: > + Usage: required > + Value type: > + Definition: The register address that points to the location of the > + Command DB in memory. Additionally, specify the address > + and size of the actual lacation in memory. The reg doesn't reference the indirection registers anymore, please update this. Apart from this, you have my: Reviewed-by: Bjorn Andersson Regards, Bjorn