From mboxrd@z Thu Jan 1 00:00:00 1970 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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5F2F2C433EF for ; Fri, 29 Oct 2021 02:10:55 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id 920C361051 for ; Fri, 29 Oct 2021 02:10:54 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 920C361051 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=konsulko.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=lists.denx.de Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id AA6AE8358B; Fri, 29 Oct 2021 04:10:51 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=konsulko.com header.i=@konsulko.com header.b="jxTMNyeM"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id B76758358B; Fri, 29 Oct 2021 04:10:49 +0200 (CEST) Received: from mail-qv1-xf31.google.com (mail-qv1-xf31.google.com [IPv6:2607:f8b0:4864:20::f31]) (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 B801083556 for ; Fri, 29 Oct 2021 04:10:45 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=trini@konsulko.com Received: by mail-qv1-xf31.google.com with SMTP id b17so1946685qvl.9 for ; Thu, 28 Oct 2021 19:10:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=g+TK2d4kB3Fq3bIf91WTWjFq0VA/9SAHAEl1PMZ+ndg=; b=jxTMNyeMG7lFXlTmu+RZSUQgCawAopJ+HVaGhRTaiFyj9lrjIBxppajKPP8Z6S52b4 4U7JXzr9kDgeNcRTKK9q7vwWOZrkXsh229vXivEztMWZJTcyq2n+e4P2T4I74LoYIV7e irmL2cbXl2heuMw0a2P1dU67KvPIXRIZZXQMg= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=g+TK2d4kB3Fq3bIf91WTWjFq0VA/9SAHAEl1PMZ+ndg=; b=5d9WH9a/eFOaFvSK4EZwQiDCzD9UyoN+mgk2ccSrmkEuBvLPOJk97QpjSKAtTLP6iA fnuEG++rFe8VAy5gJMrk3cz7dPUAQbDwXOyXzxntN2bUJaNQPrYiwU6I1yAfWFxNrEfg ulkQM1zqrJj8k/qCntzAriwWGq3Gbuxcty4GxchkBZLedR3oIfAx9Qs3S6ltTLlpbEK+ FzNEe1DJ7BMZE5aGLzauw0IwSLpfOdQuLqrpH3bNT5t3YewgKdzMMBu1nXhVRPX0Nm/i 3+vbgY2JtdmHJpV67C/I6YWYwWt/mvB7emMpuHjyveX9g2ZVkReVgfB9oscy3VKCH62O txEA== X-Gm-Message-State: AOAM530PafX1XqjeYfmk3QM5kbAxA8VwsxL3Sb3+1B7cOlrvgLVcwSqf jlKrM+wcPAtuT6O2uOv7y6b9NQ== X-Google-Smtp-Source: ABdhPJyobvPoUAC6Uesd0zmxdKheJ8X2qv0il/nAemqdIUq7T21RF1f+/AfRPb7csU63N1s8S3WOsA== X-Received: by 2002:a05:6214:21a5:: with SMTP id t5mr8519812qvc.42.1635473444332; Thu, 28 Oct 2021 19:10:44 -0700 (PDT) Received: from bill-the-cat (2603-6081-7b01-cbda-cd13-3c38-2d32-68e0.res6.spectrum.com. [2603:6081:7b01:cbda:cd13:3c38:2d32:68e0]) by smtp.gmail.com with ESMTPSA id d11sm1470796qtx.81.2021.10.28.19.10.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Oct 2021 19:10:43 -0700 (PDT) Date: Thu, 28 Oct 2021 22:10:41 -0400 From: Tom Rini To: "Peng Fan (OSS)" Cc: lukma@denx.de, sjg@chromium.org, seanga2@gmail.com, u-boot@lists.denx.de, Peng Fan Subject: Re: [PATCH V2] clk: introduce u-boot,ignore-clk-defaults Message-ID: <20211029021041.GQ8284@bill-the-cat> References: <20211029012801.15193-1-peng.fan@oss.nxp.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="kU+YCB/tRrGD+zr2" Content-Disposition: inline In-Reply-To: <20211029012801.15193-1-peng.fan@oss.nxp.com> X-Clacks-Overhead: GNU Terry Pratchett X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 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 --kU+YCB/tRrGD+zr2 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Oct 29, 2021 at 09:28:01AM +0800, Peng Fan (OSS) wrote: > From: Peng Fan >=20 > 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. >=20 > So introduce a new property to ignore the default settings which could > be used by any node that wanna ignore default settings. >=20 > Reviewed-by: Simon Glass > Signed-off-by: Peng Fan > --- >=20 > V2: > Add R-b tag > Tom, Simon > After a thought, I think still put it as a u-boot thing. assigned-cloc= k-x is=20 > actually Linux specific, however I could not add the new property to L= inux, > because we are supporting SystemReady-IR, we need the assigned-clock-x= property > in linux working and ignore it in U-Boot. OK, right, so... it should be a generic property to say what, early firmware should ignore this clock unless otherwise required and use the preconfigured value? --=20 Tom --kU+YCB/tRrGD+zr2 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEGjx/cOCPqxcHgJu/FHw5/5Y0tywFAmF7WB4ACgkQFHw5/5Y0 tyx35AwAkttt0R2FBN52rCCT+Jgw+6RpZMPydODQ++4hFv9vz+Qf6BE5j/iANQzS HIX72zLnU/r5pCfsMFc7WKrtrnyYFZMf7NZ+qJtShH2UfB2HOmMoIU7MbNIquAet fOGlzTUUtW2hYV9jTCuJtVrKDpbExz9hK23drtxzA3UX5I4qegYaZVRhJ5sDp9CD VsHkTkeXaH8JG9OvhDyLnxeWuPoJB16WNFxNzLBVYKWaCvXXISKX8L30f4rmiDzi tkxRdCjSYkZS92xw8loqgkcytmqNUjMKi+LGogGUFQ3a+6JB2x5l9wpEUbXjoMHT UPaDO/+PxoD3vUv+/FyWykYR3IXWC25kStIrqOxJK3axIZzVoqFKS12FHCqhAr8G XESYYvQ/EYUBG1o9gKBa/mD8gIPC5iJXkbpV8rWm0EUACGWCck/yJ9oYj+koJrC8 D8Lf52/aFVX61UPde4w5xOVpmHmxicGvTvmm+Tvx6wMRjAHb2mwdoIIUaPYpOz/n 5rVxSCWX =+qLe -----END PGP SIGNATURE----- --kU+YCB/tRrGD+zr2--