Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp1669074imm; Wed, 16 May 2018 01:02:47 -0700 (PDT) X-Google-Smtp-Source: AB8JxZp5myKYPGzlCXjf12BmsDodNYhAuakPgBsEM7R0Zks1vlog/s6bEmH2YvBge6/N8l98Um/G X-Received: by 2002:a65:63c1:: with SMTP id n1-v6mr14780501pgv.399.1526457767109; Wed, 16 May 2018 01:02:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526457767; cv=none; d=google.com; s=arc-20160816; b=V29b2chqsvkjaH6jxgQvkquGiM/pG7aRO5ewM4E9+tthP4/1kpEomLFJ1WRfbgHeXE J9eGTD6sW8Fo2JhO9EFIRnXF7HsVtj+oYLbYSTTICp4u+kH9GQpxKsoUxpdldzp3AoAy ZAJEOdaONMZYR+GkKYgBcSJ6eUguMoKMYJ8tMcsKfhjLBD171uEB1FikUko47m1avmZn ojnDMALA8mhfeSr0ZaAjUxJhhIDlFUXnkcGAFJ94kt5XAoGV+ZAHXOOBIOk1M6mTbw5A PvrwF960mLGZQfZOOFz9+NLNejHVYYZFfmVHwRxrhe3EmwHR/XGRvCs0WPYzpVRUNVNX R4Wg== 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:arc-authentication-results; bh=oOi8vcViLeGsfDnu3xDJLdevMm4glivAEbwAb8BEVd8=; b=ty1lPtUnx0wPmdIWYQIsBS250cRy4mapA+uZ0T7MJaxZ+jUlhPUVvkSGnOP49Dknnj Az+a8jN66Sy4pte0jaA2IxmWGt1Z42uG+Vx0wp3fJWKMYSbRSfFSt6/j3Ctnj7SLxp2a 8vCHv4BsuzVznfBPhU7Qbq+TlNTljRgjRIy0snn4O2hzruJ4ngSb2oDhcM+PKFOWFy3P LlwusvnKKtxIqa70GZ4eLNm01NdmCkFAMgLZvbTXl0wVBJoShyVwLWzFOHG8iweph7l4 e1nkHFbjgFYM1ZAsWFr10eQs6XsNJesyQ4tPsVwmvH6oHPQscyGdWj6QJxD+pC43D8ci 934A== 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 u28-v6si2066607pfl.143.2018.05.16.01.02.32; Wed, 16 May 2018 01:02:47 -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; 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 S1752633AbeEPICH (ORCPT + 99 others); Wed, 16 May 2018 04:02:07 -0400 Received: from mx08-00178001.pphosted.com ([91.207.212.93]:63818 "EHLO mx07-00178001.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751319AbeEPICE (ORCPT ); Wed, 16 May 2018 04:02:04 -0400 Received: from pps.filterd (m0046660.ppops.net [127.0.0.1]) by mx08-.pphosted.com (8.16.0.21/8.16.0.21) with SMTP id w4G80HkD026553; Wed, 16 May 2018 10:02:00 +0200 Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx08-00178001.pphosted.com with ESMTP id 2hys0qexkf-1 (version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NOT); Wed, 16 May 2018 10:02:00 +0200 Received: from zeta.dmz-eu.st.com (zeta.dmz-eu.st.com [164.129.230.9]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id A1ED63F; Wed, 16 May 2018 08:01:59 +0000 (GMT) Received: from Webmail-eu.st.com (sfhdag3node2.st.com [10.75.127.8]) by zeta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 4982A167F; Wed, 16 May 2018 08:01:59 +0000 (GMT) Received: from [10.201.21.58] (10.75.127.49) by SFHDAG3NODE2.st.com (10.75.127.8) with Microsoft SMTP Server (TLS) id 15.0.1347.2; Wed, 16 May 2018 10:01:58 +0200 Subject: Re: [RESEND PATCH] clk: stm32: fix: stm32 clock drivers are not compiled by default To: Stephen Boyd , Michael Turquette , CC: , , benjamin GAIGNARD , Loic PALLARDY References: <1525329609-7291-1-git-send-email-gabriel.fernandez@st.com> <0066b4db-8da6-007d-780d-a8ffc4884ad0@st.com> <152548833044.138124.7516235724401510636@swboyd.mtv.corp.google.com> <152642091618.237094.8294094887191293130@swboyd.mtv.corp.google.com> <152645747055.210890.12866212092853247736@swboyd.mtv.corp.google.com> From: Alexandre Torgue Message-ID: <503ec7d8-e493-3458-e974-5fab5649aaf8@st.com> Date: Wed, 16 May 2018 10:01:56 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 MIME-Version: 1.0 In-Reply-To: <152645747055.210890.12866212092853247736@swboyd.mtv.corp.google.com> Content-Type: text/plain; charset="utf-8"; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Originating-IP: [10.75.127.49] X-ClientProxiedBy: SFHDAG4NODE3.st.com (10.75.127.12) To SFHDAG3NODE2.st.com (10.75.127.8) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2018-05-16_04:,, signatures=0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 05/16/2018 09:57 AM, Stephen Boyd wrote: > Quoting Alexandre Torgue (2018-05-16 00:34:21) >>>> >>>> Sorry I don't understand. Clock driver is mandatory to boot each >>>> platform and depends on machine type. Do you see a use case where we >>>> could need to disable the clock driver? (it would impose to change >>>> devicetree to use fixed clocks and to have a booloader which configures >>>> all PLL and clocks). >>> >>> No. My understanding of the patch that introduced the options was to >>> allow the user to disable these drivers if they wanted to. I'm just >>> reiterating the spirit of that patch. That must be wrong? >>> >> Actually initial patch is a mistake. You can't boot STM32 platform >> without clock driver. This patch fixes that, and offers the possibility >> to not build the clock driver of the machine which are not used >> (currently all machine are selected but to reduce memory footprint you >> could disable not used machine in defconfig). > > Ok I stuck the patch into clk-fixes. Will send off to Linus tomorrow or the > next day. > Thanks Stephen