Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp2779856ybv; Mon, 24 Feb 2020 11:27:22 -0800 (PST) X-Google-Smtp-Source: APXvYqwmFVwAxTj6nthaF4m4DZknaqhXzMNyxd9r8/OavR4L9Q9bZZ8+nFCFqOmnfdeUk9cP6EcV X-Received: by 2002:a05:6808:8d0:: with SMTP id k16mr519054oij.68.1582572441919; Mon, 24 Feb 2020 11:27:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582572441; cv=none; d=google.com; s=arc-20160816; b=Wtc7wKmncrAAe4BwDHJqzHI1FVH3uzan74zKfVw8Z0YNC1g6fDS92+rMIn0az8Qnl9 hfq+r4mfdu27swu13aRu5jI1Fc2PFFLWCSe9yKhjfdENn/AViZ21BT+YQT2oulXomgGn q1jFGYYJug7FDgjv+49BgQt/E8HlCmKNC50rybgBdkXt+AVji/yO+ctjSpEjwH0wopyK /SGO9f82oYhkXGaHnePBY1h3Ml4V957ulfuDl746iD9NbNyCy2TrK0tSs+ot8LcRfKxs kgOVKWTJYwmY2/LenuHW+rGnR9ubFROHqT+kBSb1Lo3ElbNyUUWJ93oT3pSnX+jhRnbq fvmw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-language :content-transfer-encoding:in-reply-to:mime-version:user-agent:date :message-id:autocrypt:openpgp:from:references:cc:to:subject; bh=0GEWEA+2umCSuAZwbHJynC48z4EPfqcAr6RnP7oIP/0=; b=HF2v45SYCRXs4tdkbUhu6EO6RO3LHoQSLyp2myLtPmss7Eu2u1AlqRrW2lJ6x1k8G5 Ogw8f5r12kM0bv9RTvWxReUcBXTHGfKxsLetUn1M3tqyY1+PqmdXBiTQtuyhQnz/Zd3R judoaGDhQUSgopGaGfZSYAjnX+cM2cnTG4ER1vb45JPnEMHuL1meJtQY4jw6em2eqSGS HiriNGeglY5rL3hCKQUvIn5QhXlLAc6+4VuK+yOiM7SIz3XArqmh4SQCnLER1DrRypRy aVbKSADhCMZTckzW3zweVCbg7BrOZlVVppxDI3YMHhYRZXIEQ3Ci7sVfYHxgP1G3ANO0 hWhA== ARC-Authentication-Results: i=1; mx.google.com; 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 w2si6640586otq.31.2020.02.24.11.27.09; Mon, 24 Feb 2020 11:27:21 -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; 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 S1727267AbgBXT0L convert rfc822-to-8bit (ORCPT + 99 others); Mon, 24 Feb 2020 14:26:11 -0500 Received: from mout.kundenserver.de ([217.72.192.75]:55585 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726628AbgBXT0L (ORCPT ); Mon, 24 Feb 2020 14:26:11 -0500 Received: from [192.168.1.183] ([37.4.249.121]) by mrelayeu.kundenserver.de (mreue106 [212.227.15.183]) with ESMTPSA (Nemesis) id 1MtwlO-1jPEJt2n8e-00uMPE; Mon, 24 Feb 2020 20:25:49 +0100 Subject: Re: [PATCH 16/89] clk: bcm: rpi: Add clock id to data To: Maxime Ripard , Nicolas Saenz Julienne , Eric Anholt Cc: Tim Gover , Dave Stevenson , Stephen Boyd , Michael Turquette , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-clk@vger.kernel.org, bcm-kernel-feedback-list@broadcom.com, linux-rpi-kernel@lists.infradead.org, Phil Elwell , linux-arm-kernel@lists.infradead.org References: <3028e04887c7b8a6ffc150c016aa63281461b434.1582533919.git-series.maxime@cerno.tech> From: Stefan Wahren Openpgp: preference=signencrypt Autocrypt: addr=stefan.wahren@i2se.com; keydata= xsFNBFt6gBMBEACub/pBevHxbvJefyZG32JINmn2bsEPX25V6fejmyYwmCGKjFtL/DoUMEVH DxCJ47BMXo344fHV1C3AnudgN1BehLoBtLHxmneCzgH3KcPtWW7ptj4GtJv9CQDZy27SKoEP xyaI8CF0ygRxJc72M9I9wmsPZ5bUHsLuYWMqQ7JcRmPs6D8gBkk+8/yngEyNExwxJpR1ylj5 bjxWDHyYQvuJ5LzZKuO9LB3lXVsc4bqXEjc6VFuZFCCk/syio/Yhse8N+Qsx7MQagz4wKUkQ QbfXg1VqkTnAivXs42VnIkmu5gzIw/0tRJv50FRhHhxpyKAI8B8nhN8Qvx7MVkPc5vDfd3uG YW47JPhVQBcUwJwNk/49F9eAvg2mtMPFnFORkWURvP+G6FJfm6+CvOv7YfP1uewAi4ln+JO1 g+gjVIWl/WJpy0nTipdfeH9dHkgSifQunYcucisMyoRbF955tCgkEY9EMEdY1t8iGDiCgX6s 50LHbi3k453uacpxfQXSaAwPksl8MkCOsv2eEr4INCHYQDyZiclBuuCg8ENbR6AGVtZSPcQb enzSzKRZoO9CaqID+favLiB/dhzmHA+9bgIhmXfvXRLDZze8po1dyt3E1shXiddZPA8NuJVz EIt2lmI6V8pZDpn221rfKjivRQiaos54TgZjjMYI7nnJ7e6xzwARAQABzSlTdGVmYW4gV2Fo cmVuIDxzdGVmYW4ud2FocmVuQGluLXRlY2guY29tPsLBdwQTAQgAIQUCXIdehwIbAwULCQgH AgYVCAkKCwIEFgIDAQIeAQIXgAAKCRCUgewPEZDy2yHTD/9UF7QlDkGxzQ7AaCI6N95iQf8/ 1oSUaDNu2Y6IK+DzQpb1TbTOr3VJwwY8a3OWz5NLSOLMWeVxt+osMmlQIGubD3ODZJ8izPlG /JrNt5zSdmN5IA5f3esWWQVKvghZAgTDqdpv+ZHW2EmxnAJ1uLF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o9FWHWr6zHyYcc8qDLFvG9FPhmQuT2s9Blx6gI 323GnEq1lwWPJVzP4jQkJKIAXwFpv+W8CWLqzDWOvdlrDaTaVMscFTeH5W6Uprl65jqFQGMp cRGCs8GCUW13H0IyOtQtwWXA4ny+SL81pviAmaSXU8laKaRu91VOVaF9f4sAEQEAAcLBXwQY AQIACQUCW3qAEwIbDAAKCRCUgewPEZDy2+oXD/9cHHRkBZOfkmSq14Svx062PtU0KV470TSn p/jWoYJnKIw3G0mXIRgrtH2dPwpIgVjsYyRSVMKmSpt5ZrDf9NtTbNWgk8VoLeZzYEo+J3oP qFrTMs3aYYv7e4+JK695YnmQ+mOD9nia915tr5AZj95UfSTlyUmyic1d8ovsf1fP7XCUVRFc RjfNfDF1oL/pDgMP5GZ2OwaTejmyCuHjM8IR1CiavBpYDmBnTYk7Pthy6atWvYl0fy/CqajT Ksx7+p9xziu8ZfVX+iKBCc+He+EDEdGIDhvNZ/IQHfOB2PUXWGS+s9FNTxr/A6nLGXnA9Y6w 93iPdYIwxS7KXLoKJee10DjlzsYsRflFOW0ZOiSihICXiQV1uqM6tzFG9gtRcius5UAthWaO 1OwUSCQmfCOm4fvMIJIA9rxtoS6OqRQciF3crmo0rJCtN2awZfgi8XEif7d6hjv0EKM9XZoi AZYZD+/iLm5TaKWN6oGIti0VjJv8ZZOZOfCb6vqFIkJW+aOu4orTLFMz28aoU3QyWpNC8FFm dYsVua8s6gN1NIa6y3qa/ZB8bA/iky59AEz4iDIRrgUzMEg8Ak7Tfm1KiYeiTtBDCo25BvXj bqsyxkQD1nkRm6FAVzEuOPIe8JuqW2xD9ixGYvjU5hkRgJp3gP5b+cnG3LPqquQ2E6goKUML AQ== Message-ID: <67855a10-f7cb-b6b3-7b9f-d9c9baa5f105@i2se.com> Date: Mon, 24 Feb 2020 20:25:46 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0 MIME-Version: 1.0 In-Reply-To: <3028e04887c7b8a6ffc150c016aa63281461b434.1582533919.git-series.maxime@cerno.tech> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8BIT Content-Language: en-US X-Provags-ID: V03:K1:VyhJqVob3VPakCj8Qddgqy69jJ7bigJ2KWHq95khrpoutJh2CXf Gs4yA0dcF2YUSCQANMZjrZk1jGzJjrWXSL7DOplNN61MHOJ6QPgzVTzMBeaEf44HpHFKzIj u6wr9+J46+NgOs7NuI/vOmGM4TojTNlYv55ne10dlXq1Bm8anDDp6ppXKuW7WjuXfhl59LK oAM3uvuntavUCgHUaZE5w== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:CCQz7HXM9XM=:teXIYLI0UZIxj1oO5h2WKz qU38WhydB6qio3uDLTnC/E3QPjBFeyPEQInXZwkMkDEVz/PLezpOXP4JW/nl7rRQjWFwARhCi 2A2fcaFIMem9ytlgRYp2ysKI1aMDVvpnIIOhx+dBg2UVqwXIjCdpAMeq6d2esHTR/gcSawbMp Py8fGJXjabTTjDf/5QB//jb+tp/bFAaxs8LTHpUPdh2wmRcB8bOpc3f2f/ho7hqYtrZncjqai 25Zp0QPZbg4qcIoTlvlS2C16aZ/9wFIJQudaC2WTxe0pFNI0Yns+Lq4tvp7rBzjxoW5A2VZHb /dwqh7XowMxRs7XUIBKs0YEgHm3xTN7iRrInk8rEJymjyAiybxatmJybuJ+/tz50blyp06i2n YMjei0q+nY2mfrkIdjN+xfInsHGsU12KlJibidJVQxSjKIAZq2Eak/veS9GqK0fH7Cd37zKsI YGUZ7VWaM2KFR8dnHN66dFSPEG/Y2SZOPAnbSd6uwOQMcvYxn7lufxOJC1nGNGotKuWiGNXJD 7H5CroMVum/tVAG8Fu2FoeJxgUIT8EjhofIlL0Cd2JJNkZwOx0WgqNaL51iINjiGMOjKQ/V2n OYN197m0TcHCT5QfyYupj+Vbh8N1u+Uz9jMwDrKojrsJ5WP3esdEheg4m1B6X0Ld+aw1z9gfD sSZuh8wIbUSjWN2H9lgwPISTA3DtltcO1dIxKp+65HbSmaEchq0U7jRLf2ZuJaYNV5bXMkDvo rz5aPidFUoC/Xact0b4VLYIhz9a1ssi6KZwXuwtZ21AgXcBJXUOst8M9amOzYBhfU2kCpQrf4 0LqwS9lIHytXFkzfoiDOLQQxTM2o6ga1672ByQ9RGu5pV8idnT9Y8ZMDZVwhvsxXnbkEPWC Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Maxime, Am 24.02.20 um 10:06 schrieb Maxime Ripard: > The driver has really only supported one clock so far and has hardcoded the > ID used in communications with the firmware in all the functions > implementing the clock framework hooks. Let's store that in the clock data > structure so that we can support more clocks later on. thank you for this series. I looked through it but i couldn't find an explanation why we need to expose firmware clocks via DT instead of extending clk-bcm2835. The whole pllb / clk-raspberrypi stuff was an exception to get cpufreq working. I prefer to keep it an exception. Regards Stefan