Received: by 10.223.164.221 with SMTP id h29csp835364wrb; Fri, 27 Oct 2017 07:21:58 -0700 (PDT) X-Google-Smtp-Source: ABhQp+RZf6OLlIpbYqR7QDi//OJJQmra5KMmigLqtFXFYWettq9d+ipC9uqR/5JtB30+fPxjWJLa X-Received: by 10.98.207.71 with SMTP id b68mr627108pfg.125.1509114118859; Fri, 27 Oct 2017 07:21:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1509114118; cv=none; d=google.com; s=arc-20160816; b=liUbc5+HALkysFn8V5w5IOh0U/O7xveHb6J3I/nOb2FTDNQSn6In1JKKikD9qVVBrw 4tY2vVAWJhTRmNNgiKejNyr1w8J2LbLDD+cLnFI4EMplBfJi6Wq2sfr+qeHLmXNCQorO 8JO4oRgqrTPKzOU6MRqpQ0Rp86u15EvNBMXxXJtok3BJ+wrA/Y+BIO/yXXafzTB17bpB /8Y9ALMJwibeP0w3rAoixCYeevespbhtzXPIb9ruRQcJiseBJEov01uWk5XirAzaEGJA uBBzmhaEV+X/VAx/r51gFK65w27AnVycKw6HcxcIbWJb8odgrDjoSidPhMjZRNeEnDCc kvYQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature :arc-authentication-results; bh=C//LHdQieteWu4b54aer+Pywz/8zoVg79U1AvkWrKpY=; b=DRBhRzH9aD/i+N3lg7vJOEzAU3K4FEImQv+I/DUOeRohGyTdp+coLC42Ri6GsIe0Bb 8SeHKi4Cn0nluwCoprZsXNjPJc/e3fRMfwZOlHqWO/0uh5YPgSB4E8a/uEXn8yCIUIVe PJJRR4H4S9FeFOaKAXtQLfN0USlOky26/Q+DyU5rPXe41XfQ2xTn2jKo0JvlmzAZYQ88 7OZR5D/GilpeYqtW+2stuXoYR3OHlauW0ck2yT2UmH/3zGG4/Okj+shotFhIHyS2c9/5 KFVpQGv8JcPAmEPGHE1yXSaEppHGKKWKuP5hI8DqI+ZzvF39IzsZG5z/37wKgzmkNlvV epFQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=c0MBh/qh; 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 g66si5437413pfj.184.2017.10.27.07.21.43; Fri, 27 Oct 2017 07:21:58 -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=c0MBh/qh; 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 S1751511AbdJ0OVG (ORCPT + 99 others); Fri, 27 Oct 2017 10:21:06 -0400 Received: from mail-wm0-f67.google.com ([74.125.82.67]:55359 "EHLO mail-wm0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751029AbdJ0OVC (ORCPT ); Fri, 27 Oct 2017 10:21:02 -0400 Received: by mail-wm0-f67.google.com with SMTP id y83so4092720wmc.4 for ; Fri, 27 Oct 2017 07:21:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=C//LHdQieteWu4b54aer+Pywz/8zoVg79U1AvkWrKpY=; b=c0MBh/qhuUi8Wa2+BrIRsRov8BNbR6ohexGlnBYzYXHYCS0Dapz3myVacvfHK7DX4f HoNBs4cS4ejyK0cQrYb5YP8o3vnMI3JnDeHc47qat9HJTCdFnUu3BNmD48TUTQB6vC7s L7eZYMvNiimFTcUiLgJpdiQYwvp950nrUlxPM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=C//LHdQieteWu4b54aer+Pywz/8zoVg79U1AvkWrKpY=; b=TEsGfcia/6GDetzhMvGwM2+gR60/o+zZR8y13tHly51W2IrFqk0H72ylBRkoseJCrL xAzSOmsFwMatpA+Uc7SBHmk6bcXPz6bkllbypTqR557DNM8mfoEp0ENvt3QJtae2cWVW Fg79FxUzKLOnXJnTkZIaFdRzTMCAk2ThtDRkAsbt7DQbJkaat9AE3+wAZt02MXgiZaRh 2jX3COAd0wGDLcnNJWaIKpS17TsOgOM68d7E2P4UqI2T2d02IokBs68REf6DKPXTs1qR a/R6OzH0TXG1QOsOi11QEVrQ+pbS3ko3RhDCUjpy8ukBelqkh2K18Y1AeR3i6Pa4EoYl RQqw== X-Gm-Message-State: AMCzsaVandzT7NqV1agTlDnhYCMNHjkkuyH3t5qCTFoE8TK8POEqNFxG xUbDBSZv+lkI86oiSuto5LATfQ== X-Received: by 10.80.231.4 with SMTP id a4mr823577edn.268.1509114061492; Fri, 27 Oct 2017 07:21:01 -0700 (PDT) Received: from [10.44.66.8] ([212.45.67.2]) by smtp.googlemail.com with ESMTPSA id z1sm5312400edz.97.2017.10.27.07.20.59 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 27 Oct 2017 07:21:00 -0700 (PDT) Subject: Re: [PATCH v9 3/7] mailbox: qcom: Move the apcs struct into a separate header To: Bjorn Andersson , sboyd@codeaurora.org Cc: 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 References: <20170921164940.20343-1-georgi.djakov@linaro.org> <20170921164940.20343-4-georgi.djakov@linaro.org> <20171026042811.GL1575@tuxbook> From: Georgi Djakov Message-ID: <5bad4c4b-362b-ba9f-3072-1cced7a004dd@linaro.org> Date: Fri, 27 Oct 2017 17:20:58 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 In-Reply-To: <20171026042811.GL1575@tuxbook> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 From 1582292937448462680@xxx Thu Oct 26 04:28:55 +0000 2017 X-GM-THRID: 1579168714736773466 X-Gmail-Labels: Inbox,Category Forums