From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755314AbbIAITI (ORCPT ); Tue, 1 Sep 2015 04:19:08 -0400 Received: from ns.mm-sol.com ([37.157.136.199]:59457 "EHLO extserv.mm-sol.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755190AbbIAITB (ORCPT ); Tue, 1 Sep 2015 04:19:01 -0400 Message-ID: <55E55F70.5050703@mm-sol.com> Date: Tue, 01 Sep 2015 11:18:56 +0300 From: Stanimir Varbanov User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: Bjorn Andersson , Alexandre Courbot , Ian Campbell , Linus Walleij , Mark Rutland , Pawel Moll , Rob Herring CC: devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/4] dt-binding: gpio: Add Qualcomm SMSM device tree documentation References: <1440697078-4106-1-git-send-email-bjorn.andersson@sonymobile.com> <1440697078-4106-2-git-send-email-bjorn.andersson@sonymobile.com> In-Reply-To: <1440697078-4106-2-git-send-email-bjorn.andersson@sonymobile.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 08/27/2015 08:37 PM, Bjorn Andersson wrote: > This documents a device tree binding for exposing the Qualcomm Shared > Memory State Machine as a set of gpio- and interrupt-controllers. > > Signed-off-by: Bjorn Andersson > --- > .../devicetree/bindings/gpio/qcom,smsm.txt | 114 +++++++++++++++++++++ > += EXAMPLE > +The following example shows the SMEM setup for controlling properties of the > +wireless processor, defined from the 8974 apps processor's point-of-view. It > +encompasses one outbound entry and the outgoing interrupt for the wireless > +processor. > + > +smsm { > + compatible = "qcom,smsm"; > + > + #address-cells = <1>; > + #size-cells = <0>; > + > + qcom,ipc-3 = <&apcs 8 19>; Can we use something more descriptive here, for example qcom,ipc-rpm = <&apcs 8 19>; and replace these magic numbers with defines? > + > + apps_smsm: apps@0 { > + reg = <0>; > + > + gpio-controller; > + #gpio-cells = <2>; > + }; > + > + wcnss_smsm: wcnss@7 { > + reg = <7>; > + interrupts = <0 144 1>; > + > + interrupt-controller; > + #interrupt-cells = <2>; > + }; > +}; -- regards, Stan