Received: by 10.223.164.202 with SMTP id h10csp266569wrb; Mon, 13 Nov 2017 18:13:51 -0800 (PST) X-Google-Smtp-Source: AGs4zMa3YqtgynaVxpLALRzvMlN8qZiGNmdogmH1DAAZCww/yxwjsDJaW46c6jKwdGTci1K/z4KL X-Received: by 10.99.127.84 with SMTP id p20mr10706962pgn.204.1510625631447; Mon, 13 Nov 2017 18:13:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1510625631; cv=none; d=google.com; s=arc-20160816; b=tr7FehVzYfMc32NdFlgHiKopPtipFQSefmUYToLumBfDC+kgXNzyEyP69aQHW/60H3 Pt7bDKi3se69aoYMf7TB7R1wig7NW33b8g2UBZ+TJhgzVIF1Wp0nslgOXJsKzGvJzi5a BJKLTrchX5KjsM4QnxcRYej1UObajDCyosFtZe++2EwbIOLoiDkbTuzzFoijTUGfj76H pR/spypfAcT+q+8y8H+8LkYwen3UdSAZiBSxnNuJwiuIh7dBcY+RjCGAN8uLT84ZPtlZ Qo9Fa+J3mMGPhB4fin4Y9FX4mp6bwvabirmrjugzuID4VL+wAXO5LR4TJyDDOixCtw5S 3dyg== 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:dmarc-filter:dkim-signature:dkim-signature :arc-authentication-results; bh=kg5Sqi+sWwBC/8YBhmq0ll4g1ZF3qXojWexgcvv9KeM=; b=Er63pex+qh98D16K2TZN6owPv0vsMjbfA+FSA1qnrS771Zo165wkc6qcdKipMgVc+t h6T0GKm/hDE+tGpeV570uGitlmqA4GxET1AIQBAN48Nr+lDhzYr8KQGuffQnkevR82gb gmGKXsdWpuvGqivQ6txsmtrvJlv+anBw8TEzGB1Wvc54tr4BBvEeEOTSlEzSl1UtevK3 FSw+sS4SE4cJfpcfBK2xKi2AQkO5EA6thMbxsSf/p/y7NYd63ZjWSnrbQmYHkH1X2LO8 Z27Iqfd/f6Vq+soeIh4muv+fSH151sM41rb7I83POM/E57F44g1ziBkr91J5BtnMKyGI wG3A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b=NXhToNr6; dkim=pass header.i=@codeaurora.org header.s=default header.b=GI1blPov; 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 z31si9642505plb.743.2017.11.13.18.13.38; Mon, 13 Nov 2017 18:13:51 -0800 (PST) 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=NXhToNr6; dkim=pass header.i=@codeaurora.org header.s=default header.b=GI1blPov; 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 S1753102AbdKNCNA (ORCPT + 89 others); Mon, 13 Nov 2017 21:13:00 -0500 Received: from smtp.codeaurora.org ([198.145.29.96]:60032 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750806AbdKNCM6 (ORCPT ); Mon, 13 Nov 2017 21:12:58 -0500 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 9F6CA607E2; Tue, 14 Nov 2017 02:12:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1510625577; bh=mnxlOsYoa0WIxhlLUDAEhz73pfrWqJHRXUqxct/gEvU=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=NXhToNr6CEN0TFMK82tMOoV2I+y9ITJQW4nyhvH4xzS8Is88xYrJdE60UuknKDaha xPsL5wXeWwaZY+mNsthobiLEMyfmoKgbtVD64q6Ct93CTrJWyIVHDlsIL11uJOQ77Y Do/RxJqzDDrCsixLSEHTpRHOvrHzwZqMgR7TKRac= 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 localhost (i-global254.qualcomm.com [199.106.103.254]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: sboyd@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id 3608760714; Tue, 14 Nov 2017 02:12:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1510625576; bh=mnxlOsYoa0WIxhlLUDAEhz73pfrWqJHRXUqxct/gEvU=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=GI1blPovLS42tLHR/2lvgYKkugIe7uxwZVVcHWpIdtHCXk5XRwpyjQaaJYfyVTtxW qNnlVL66machwNEpmJSn2hVlJ7PUXGTWpx+YIBr8qLz/MdfduWVD4B7C6YhuEbZkuy /c3mQNn9/QRXmgJllIoJTnZpYkuBIflAQoTOU7XQ= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 3608760714 Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=sboyd@codeaurora.org Date: Mon, 13 Nov 2017 18:12:55 -0800 From: Stephen Boyd To: Georgi Djakov Cc: Bjorn Andersson , jassisinghbrar@gmail.com, robh+dt@kernel.org, mturquette@baylibre.com, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org Subject: Re: [PATCH v9 3/7] mailbox: qcom: Move the apcs struct into a separate header Message-ID: <20171114021255.GY11955@codeaurora.org> References: <20170921164940.20343-1-georgi.djakov@linaro.org> <20170921164940.20343-4-georgi.djakov@linaro.org> <20171026042811.GL1575@tuxbook> <5bad4c4b-362b-ba9f-3072-1cced7a004dd@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5bad4c4b-362b-ba9f-3072-1cced7a004dd@linaro.org> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 10/27, Georgi Djakov wrote: > Hi Bjorn, > > Thanks for reviewing! > > On 10/26/2017 07:28 AM, Bjorn Andersson wrote: > > On Thu 21 Sep 09:49 PDT 2017, Georgi Djakov wrote: > > > >> Move the structure shared by the APCS IPC device and its subdevices > >> into a separate header file. > >> > > > > As you're creating the apcs regmap with devm_regmap_init_mmio() you can > > just call dev_get_regmap(dev->parent) in your child to get the handle. > > Ok, thanks! > > > > > But I would prefer that you just add the clock code to the existing > > driver. > > This will require an ack from Stephen, and i got the impression that he > prefers a separate clk driver [1]. > > Stephen, are you ok with registering the clocks from the apcs mailbox > driver? > > [1] https://lkml.org/lkml/2017/6/26/750 The parent regmap "trick" was the plan. Is something wrong with that? Not having random clk drivers scattered throughout the tree is sort of nice because it makes for an easier time finding things that are similar. Maybe that's an abuse of the driver model though? Just to get things into some same directory. I'm fine either way. -- Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project From 1582420846085066686@xxx Fri Oct 27 14:21:58 +0000 2017 X-GM-THRID: 1579168714736773466 X-Gmail-Labels: Inbox,Category Forums