Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S964827AbcKJUaW (ORCPT ); Thu, 10 Nov 2016 15:30:22 -0500 Received: from mail-it0-f66.google.com ([209.85.214.66]:35833 "EHLO mail-it0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934229AbcKJUaU (ORCPT ); Thu, 10 Nov 2016 15:30:20 -0500 Date: Thu, 10 Nov 2016 14:30:13 -0600 From: Rob Herring To: Avaneesh Kumar Dwivedi Cc: bjorn.andersson@linaro.org, Ohad Ben-Cohen , Mark Rutland , "open list:REMOTE PROCESSOR (REMOTEPROC) SUBSYSTEM" , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , open list Subject: Re: [PATCH v2 1/3] remoteproc: qcom: Encapsulate pvt data structure for q6v56 hexagon. Message-ID: <20161110203013.fphvzd4df3zvjdfi@rob-hp-laptop> References: <1478268057-11847-1-git-send-email-akdwived@codeaurora.org> <1478268057-11847-2-git-send-email-akdwived@codeaurora.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1478268057-11847-2-git-send-email-akdwived@codeaurora.org> User-Agent: Mutt/1.6.2-neo (2016-08-21) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1056 Lines: 25 On Fri, Nov 04, 2016 at 07:30:54PM +0530, Avaneesh Kumar Dwivedi wrote: > Encapsulate resources specific to each version of hexagon chip to > device node to avoid conditional check for manipulation of those > resources in driver code. > > Signed-off-by: Avaneesh Kumar Dwivedi > --- > .../devicetree/bindings/remoteproc/qcom,q6v5.txt | 1 + > drivers/remoteproc/qcom_q6v5_pil.c | 137 ++++++++++++++++++--- > 2 files changed, 120 insertions(+), 18 deletions(-) > > diff --git a/Documentation/devicetree/bindings/remoteproc/qcom,q6v5.txt b/Documentation/devicetree/bindings/remoteproc/qcom,q6v5.txt > index 57cb49e..cbc165c 100644 > --- a/Documentation/devicetree/bindings/remoteproc/qcom,q6v5.txt > +++ b/Documentation/devicetree/bindings/remoteproc/qcom,q6v5.txt > @@ -8,6 +8,7 @@ on the Qualcomm Hexagon core. > Value type: > Definition: must be one of: > "qcom,q6v5-pil" > + "qcom,q6v56-pil" Perhaps some explanation in the commit message about what these magic numbers mean? Rob