Received: by 10.192.165.156 with SMTP id m28csp893117imm; Mon, 16 Apr 2018 10:21:30 -0700 (PDT) X-Google-Smtp-Source: AIpwx48V+fl0uuxoaMQQ2GTP7LXxILE+mkh+puFNaKQkIPNAvNnzwEYGtwEnH3Z3A9+hvREv2npa X-Received: by 2002:a17:902:52ec:: with SMTP id a99-v6mr15282436pli.371.1523899290275; Mon, 16 Apr 2018 10:21:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523899290; cv=none; d=google.com; s=arc-20160816; b=r1+ytUhuWg1aAHURLPWxBUIW7B3CzeKK7VrfhICecrjX+2tmKVqnONu21eiTyBhJjK 4pbEnspKlXLrM7coxNn5vZvGTtLNddTUBMEA6a8P6Z/6Ujk3S1g88j8NG7jJqcTMfDfJ pscgir6EI4CU3aa/osjEaDCMVaIsBn4mHYFcB/0TvCk+VzZ0vJzlavC9GcHR0sKLbiHT FTRwbDlhAfYJWlouHY2Aj8ishjmGkIi27mdR3cp3KNxD8M69s6ywMankm+09p9VALC1K AmbS1fUFFi3yTMifC4+Mpjr2mLfs1p0f0gO0mYKM04ygmmDIglwna2L4vsilJYw7MsWP vqOg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:message-id:references :in-reply-to:subject:cc:to:from:date:content-transfer-encoding :mime-version:dkim-signature:dkim-signature :arc-authentication-results; bh=OfNlWtIBu6ouFI1/A1bsUtqqXVEvNbcq/4c6eN7d+NY=; b=nlsREhxMojTogCNsfVbcto+rYgYZSuuTRBrNAF7rJBlxQ7Zgvy9NPhvJGT7MmEeyIE jPtfbhW1N5rKRF/piURms7AQWr8XBW9q43uatIaTAhHjrn5EBYV3AsdwsQRYQ386Vw/K Y6WnMF25biaQ8t+ziKxZ/iiuK8eEr23oFa9Hur1p3Mx4XU+Iew6cUzweyXdJs6TVRBWz KeiTSZRIPvNrgKlin3JAw6Z+TSxXAwUpH6Z1aoZP0z6t58iG0FttjKYRtmiMsu22bDjK g8Ubze8VZ2pG8T2IDuo8zjS0ItPs2RUKESQIBeZVVYguOtyFNG+x1UC3blIF45m4oSFD Kteg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b=eGRY7HRb; dkim=pass header.i=@codeaurora.org header.s=default header.b=eGRY7HRb; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p12-v6si13069849plr.131.2018.04.16.10.21.16; Mon, 16 Apr 2018 10:21:30 -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=@codeaurora.org header.s=default header.b=eGRY7HRb; dkim=pass header.i=@codeaurora.org header.s=default header.b=eGRY7HRb; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752770AbeDPRUM (ORCPT + 99 others); Mon, 16 Apr 2018 13:20:12 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:55222 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750989AbeDPRUL (ORCPT ); Mon, 16 Apr 2018 13:20:11 -0400 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id C7725607E1; Mon, 16 Apr 2018 17:20:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1523899210; bh=q1OCJL6vzqNwnZz6KgOdMXiF9FYeq0TDolth/XfKyuU=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=eGRY7HRbPIlTUw1Tdj0K25cWdjpOfj1gnJsnrTNu0cyOYbnAej1KEKwaWSGwThqp0 oUis2uZppFFERhDdY71923ELU5b4GW8X3ZAbhFNCw9Tv6uJabU2GYLayWAhP9cXfFu TIqQnAGdus/5xXf09erMpGYU9N0xfXm9WJlychM0= X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on pdx-caf-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.8 required=2.0 tests=ALL_TRUSTED,BAYES_00, DKIM_SIGNED,T_DKIM_INVALID autolearn=no autolearn_force=no version=3.4.0 Received: from mail.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.codeaurora.org (Postfix) with ESMTP id 82CE560290; Mon, 16 Apr 2018 17:20:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1523899210; bh=q1OCJL6vzqNwnZz6KgOdMXiF9FYeq0TDolth/XfKyuU=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=eGRY7HRbPIlTUw1Tdj0K25cWdjpOfj1gnJsnrTNu0cyOYbnAej1KEKwaWSGwThqp0 oUis2uZppFFERhDdY71923ELU5b4GW8X3ZAbhFNCw9Tv6uJabU2GYLayWAhP9cXfFu TIqQnAGdus/5xXf09erMpGYU9N0xfXm9WJlychM0= MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Mon, 16 Apr 2018 22:50:10 +0530 From: saiprakash.ranjan@codeaurora.org To: Rishabh Bhatnagar Cc: linux-arm-kernel@lists.infradead.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, tsoni@codeaurora.org, kyan@codeaurora.org, ckadabi@codeaurora.org, stanimir.varbanov@linaro.org, evgreen@chromium.org, linux-kernel@vger.kernel.org, linux-arm@lists.infradead.org, evgreen@chromium.org Subject: Re: [PATCH v4 2/2] drivers: soc: Add LLCC driver In-Reply-To: <1523390893-10904-3-git-send-email-rishabhb@codeaurora.org> References: <1523390893-10904-1-git-send-email-rishabhb@codeaurora.org> <1523390893-10904-3-git-send-email-rishabhb@codeaurora.org> Message-ID: <2ca31c0ffd699d0aea13d09a3b2be0a8@codeaurora.org> X-Sender: saiprakash.ranjan@codeaurora.org User-Agent: Roundcube Webmail/1.2.5 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Rishabh, > +MODULE_DESCRIPTION("QTI sdm845 LLCC driver"); I think it should be QCOM or Qualcomm and not QTI > + > + desc = devm_kzalloc(dev, sizeof(struct llcc_slice_desc), GFP_KERNEL); Can use *desc instead > +struct llcc_slice_desc *llcc_slice_getd(struct device *dev, const char > *name) > +{ > + struct device_node *np = dev->of_node; > + int index = 0; > + const char *slice_name; > + struct property *prop; > + > + if (!np) > + return ERR_PTR(-ENOENT); Is this check required? > diff --git a/include/linux/soc/qcom/llcc-qcom.h > b/include/linux/soc/qcom/llcc-qcom.h > new file mode 100644 > index 0000000..3e97569 > --- /dev/null > +++ b/include/linux/soc/qcom/llcc-qcom.h > @@ -0,0 +1,168 @@ > +// SPDX-License-Identifier: GPL-2.0 Should be within /* */ for headers as per kernel licensing rules. Regards, Sai Prakash