Received: by 10.223.164.221 with SMTP id h29csp307987wrb; Wed, 25 Oct 2017 21:28:55 -0700 (PDT) X-Google-Smtp-Source: ABhQp+T/rrDmWqblducnwCg5fQ53YqMB/Ga1saekOFQdrPS6aUIWhqr6906LApa6Qjl+VO4KkZEk X-Received: by 10.98.89.208 with SMTP id k77mr4267776pfj.164.1508992135522; Wed, 25 Oct 2017 21:28:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1508992135; cv=none; d=google.com; s=arc-20160816; b=o3NrZBuuIzv3xbpV2HsoLqaK6IoNg2M+ITtcsZJGu3hI71zkD0H7HrQ1dr59/0g3sH 34taP6FsOWN4dFwte68UzFhVEEyVzkMS7gCkSU1Eq1UOI4R7xi+9hFWYznnwIaGDd7C8 C3JxaYV6kju2XC4uBTIvfn1yyDuuxxkprVDu0OgLrmXHaq4tgWclgcKCqAeyxM52yCr8 DU3CuQrDBSOLX1dEWwHs4wNIdt7/0+Oc30XTpcaT2CsAeOhyf7xPihUk/nbWU6+ALM7P uWJyozDNDaMA9l1ZVq17eGdwOY+m7S+Edl6DMbzIV5vn67Hjc0+5B+Zda2zO5AJHNrQz i++w== 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=9eB6fZ46tDWenEYUe6DIwRuQlTmQBCwduEV7iY7CuNQ=; b=rW7wSPeSpwbCRXzTKQWvRx52h9a+Yzm6uUZEGN7cf5VpXxVcoo2cldaQPt3GFCgccC bjQ0EChz4CmrwTw/7u1RA5sPZHKEXpVjB3Pa8NgmgJ+GQ9dtiAKCW/bcjCIqhIB+8GEj do7BZmqNMuXpmsOkLDm9j1a/LdiqSKBPzmunDrUnSMTpmytEyoYLvmhwQdmKppdB6+Ny XFnTrqm3WDOBHx0sutkJAvyfYLwWpR+nho0hDFWl5x0rWD4vFPyGc9w2H1awKrkfA0Cx cI9yHKgwn6P2f6+rDKrT+eUTa8gpNlFcRP1Pyooj2Ny9338KwyxOCjBWEQ6Vc8k4yXFt IvyQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=RX+/qlL+; 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 f25si2755747pge.501.2017.10.25.21.28.40; Wed, 25 Oct 2017 21:28:55 -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=RX+/qlL+; 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 S1751308AbdJZE2S (ORCPT + 99 others); Thu, 26 Oct 2017 00:28:18 -0400 Received: from mail-pf0-f193.google.com ([209.85.192.193]:52893 "EHLO mail-pf0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750919AbdJZE2P (ORCPT ); Thu, 26 Oct 2017 00:28:15 -0400 Received: by mail-pf0-f193.google.com with SMTP id e64so1592194pfk.9 for ; Wed, 25 Oct 2017 21:28:15 -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=9eB6fZ46tDWenEYUe6DIwRuQlTmQBCwduEV7iY7CuNQ=; b=RX+/qlL+ny2DF+6k8qbDd0q2IQszhgluYObTAE8N7Ep9YqkxraLtiEYXKLIpKfOXbR eiIlV6SD7rvIQgjvYnGoiVxZ3kEKi/hnTOdZk2BCuo32DCpdzic36H5NK7FhpCkUlQ0t 71WdG6tfwnQTlFiUIJk53FI7tUcx9ZoBTj498= 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=9eB6fZ46tDWenEYUe6DIwRuQlTmQBCwduEV7iY7CuNQ=; b=lJfjUEe47QzASSJeHLAU1qsFIXcTvB3KgDogIOsHXWm7sX+IwsSiPQwyem4l+++Ptu h6KDwVA0J55uYLewMNZ9do0YAxFNq82m594p5XRJoewZbpyWc+uICHpHRinhFKM8OrlB oScLr1VME0R/JgGwCuH3hKvrbGZNlOFzUfvXylzYpH8qyezRL7keHiRlgwXhYjv0ygpb yZGpQum8v5LNVicVera0oxuk8aLRFA2Ftf38UZh2JrD7I4yuv6I0uQmOOICZlPTCSAuo 8KhshNlIVs5aHKEgrnRJZdiA8Ro3NftflB6XMz4QzMkqOga2REfogBGJerGQJXkXlMqF fShQ== X-Gm-Message-State: AMCzsaVVFEtfNeU3tn2/Ai0wmijccVeEYK4n+6bAn/M/doAzbltOkRZB F+RjNtbWqx9dQ4mWIxxuI/59XA== X-Received: by 10.84.136.135 with SMTP id 7mr3477816pll.392.1508992095246; Wed, 25 Oct 2017 21:28:15 -0700 (PDT) Received: from tuxbook (ip68-111-217-79.sd.sd.cox.net. [68.111.217.79]) by smtp.gmail.com with ESMTPSA id l5sm8106829pfi.165.2017.10.25.21.28.13 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 25 Oct 2017 21:28:14 -0700 (PDT) Date: Wed, 25 Oct 2017 21:28:11 -0700 From: Bjorn Andersson To: Georgi Djakov Cc: sboyd@codeaurora.org, 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: <20171026042811.GL1575@tuxbook> References: <20170921164940.20343-1-georgi.djakov@linaro.org> <20170921164940.20343-4-georgi.djakov@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170921164940.20343-4-georgi.djakov@linaro.org> User-Agent: Mutt/1.8.3 (2017-05-23) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. But I would prefer that you just add the clock code to the existing driver. Regards, Bjorn From 1579168714736773466@xxx Thu Sep 21 16:50:44 +0000 2017 X-GM-THRID: 1579168714736773466 X-Gmail-Labels: Inbox,Category Forums