Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id A5E61C433F5 for ; Sat, 20 Nov 2021 15:07:07 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id F22F282A65; Sat, 20 Nov 2021 16:07:03 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="PG0oHF/F"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 0D0D482FC2; Sat, 20 Nov 2021 16:07:02 +0100 (CET) Received: from mail-qt1-x82b.google.com (mail-qt1-x82b.google.com [IPv6:2607:f8b0:4864:20::82b]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 3E4AC82A65 for ; Sat, 20 Nov 2021 16:06:58 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=seanga2@gmail.com Received: by mail-qt1-x82b.google.com with SMTP id 8so12320846qtx.5 for ; Sat, 20 Nov 2021 07:06:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=cvODFKlSOHvR5P/WAVF2USYurR+HzXqqL6XkgtsvCIY=; b=PG0oHF/F+HRLfIZuxyjZsbdZZ+xqkPUs22kn+HUkBxTivqP6fpOXfjv3XtJBdMzli2 sVqQ8MtbPuy/SiX4DGtqauiZ9sFBoEOTP27KgX8sCemILnscEcdJevP4XTr11l19Mgnj SXqBgpb+M1f+oX7IwnHNA2aGtEebCbUtCDb3xESalKgJ5yXLDexuxZQYDMp5A1ACY28s QFLFnuIhTc05Wf83Yi+M2sgI/dBVpk7lE1nU0vmLDN9UOTaRgGWxkeKL5RnWotEOrTdP D3KUtlmZjK7TWwjfmE5/t3D6p0u1ahOKT6xJxQj0aHpe9UgznLMGX6Vjj3PpBaMtuFnn /ugA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=cvODFKlSOHvR5P/WAVF2USYurR+HzXqqL6XkgtsvCIY=; b=JT95tcZLSjJQOhmY/hwjF1rorjaDeoWNR+Ql75yeIF1T52lmcI691fDI1Z7WXNzRkS 1g4UVXYFrOoLAL/ceqKXB6nfF3of4SZbAywyd0biMBx7p+4FZ/Dk1YvV8ZcRJOQSzHjS 1fDPvR0u62NBc7exjQ2YFmJhoE8+1X6ha0bTzheTLtd98OtyWA1B3dhXCAp5DZ1ivNjG 1iNGFhgwL4D2nWuvezlYn+CtQyUXMLTirls1HGAfxL67R38bR216rHXabW2+FHp/WB2C EdFoTswv0n/qWZONLOUfjlHYd/jeq+UcvqUNrKMsWvw80v2M5jabaf+Qp36v55rpC/du CeNA== X-Gm-Message-State: AOAM533QId3SEAMnbVhw1HZLchRJ13I3LN3ATAyPd4IFT4oPcVd6R2vv A0X+O+gnZQT5P51PUpzfbWAw8AUGMwU= X-Google-Smtp-Source: ABdhPJyb5aoR34kSKdqjRQuLdkYiSV7pOJT+O4jtZ3dTq2wsxqsgzB2d97kfjifGAT1sHa3gBOzvfA== X-Received: by 2002:a05:622a:1050:: with SMTP id f16mr14997952qte.311.1637420816804; Sat, 20 Nov 2021 07:06:56 -0800 (PST) Received: from [192.168.1.201] (pool-108-18-207-184.washdc.fios.verizon.net. [108.18.207.184]) by smtp.googlemail.com with ESMTPSA id k8sm1655658qko.130.2021.11.20.07.06.55 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 20 Nov 2021 07:06:56 -0800 (PST) Subject: Re: [PATCH V2] clk: introduce u-boot,ignore-clk-defaults To: Tom Rini , "Peng Fan (OSS)" Cc: Peng Fan , "lukma@denx.de" , "sjg@chromium.org" , "u-boot@lists.denx.de" References: <20211029012801.15193-1-peng.fan@oss.nxp.com> <20211120125711.GO24579@bill-the-cat> From: Sean Anderson Message-ID: <3d3603ac-d949-ab9b-3045-6f8a6aa25127@gmail.com> Date: Sat, 20 Nov 2021 10:06:55 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.12.0 MIME-Version: 1.0 In-Reply-To: <20211120125711.GO24579@bill-the-cat> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.37 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.2 at phobos.denx.de X-Virus-Status: Clean On 11/20/21 7:57 AM, Tom Rini wrote: > On Sat, Nov 20, 2021 at 12:10:54PM +0000, Peng Fan (OSS) wrote: >>> Subject: [PATCH V2] clk: introduce u-boot,ignore-clk-defaults >>> >>> From: Peng Fan >>> >>> Current code has a force clk_set_defaults in multiple stages, U-Boot reuse the >>> same device tree and Linux Kernel device tree, but we not register all the clks >>> as Linux Kernel, so clk_set_defaults will fail and cause the clk provider >>> registeration fail. >>> >>> So introduce a new property to ignore the default settings which could be >>> used by any node that wanna ignore default settings. >>> >>> Reviewed-by: Simon Glass >>> Signed-off-by: Peng Fan >>> --- >>> >>> V2: >>> Add R-b tag >>> Tom, Simon >>> After a thought, I think still put it as a u-boot thing. assigned-clock-x is >>> actually Linux specific, however I could not add the new property to Linux, >>> because we are supporting SystemReady-IR, we need the >>> assigned-clock-x property >>> in linux working and ignore it in U-Boot. >> >> Any more thoughts? > > Just my continued request that you treat this as generic and submit the > binding upstream so it can be in the device tree for the platform. > Hmm. Could we just do /delete-property/ assigned-clocks; in our u-boot dtsi? --Sean