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 62CBAC433F5 for ; Wed, 20 Apr 2022 12:18:53 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 0760083D62; Wed, 20 Apr 2022 14:18:51 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=fail (p=none dis=none) header.from=rock-chips.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Received: by phobos.denx.de (Postfix, from userid 109) id 02EAE83DA9; Wed, 20 Apr 2022 14:18:49 +0200 (CEST) Received: from mail-m17640.qiye.163.com (mail-m17640.qiye.163.com [59.111.176.40]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id B651783C06 for ; Wed, 20 Apr 2022 14:18:45 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=rock-chips.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=kever.yang@rock-chips.com Received: from [172.16.12.93] (unknown [58.22.7.114]) by mail-m17640.qiye.163.com (Hmail) with ESMTPA id D8D6C54029F; Wed, 20 Apr 2022 20:18:32 +0800 (CST) Message-ID: Date: Wed, 20 Apr 2022 20:18:32 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.7.0 Subject: Re: [PATCH v4 01/14] rockchip: rk3228-power: sync power domain dt-binding header from Linux Content-Language: en-US To: Johan Jonker Cc: sjg@chromium.org, philipp.tomsich@vrull.eu, hl@rock-chips.com, jernej.skrabec@gmail.com, w.egorov@phytec.de, michael@amarulasolutions.com, u-boot@lists.denx.de References: <20220415212145.2276-1-jbx6244@gmail.com> From: Kever Yang In-Reply-To: <20220415212145.2276-1-jbx6244@gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-HM-Spam-Status: e1kfGhgUHx5ZQUtXWQgPGg8OCBgUHx5ZQUlOS1dZCBgUCR5ZQVlLVUtZV1 kWDxoPAgseWUFZKDYvK1lXWShZQUlKS0tKN1dZLVlBSVdZDwkaFQgSH1lBWRoZSRpWHxoeTx1OQk 9KSBpIVRMBExYaEhckFA4PWVdZFhoPEhUdFFlBWU9LSFVKSktITUpVS1kG X-HM-Sender-Digest: e1kMHhlZQR0aFwgeV1kSHx4VD1lBWUc6NhA6Pxw5NT08TSlLH0tLEyII IgsaCR5VSlVKTU5LT05MSkpISU1CVTMWGhIXVRAeDR4JVQIaFRw7CRQYEFYYExILCFUYFBZFWVdZ EgtZQVlOQ1VJSVVMVUpKT1lXWQgBWUFJQ0lONwY+ X-HM-Tid: 0a8046e8f1fdd995kuwsd8d6c54029f X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 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.5 at phobos.denx.de X-Virus-Status: Clean patch 9~11 dropped for they make build fail. and all other patches has applied to u-boot-rockchip. Thanks, - Kever On 2022/4/16 05:21, Johan Jonker wrote: > In order to update the DT for rk3228 > sync the power domain dt-binding header. > This is the state as of v5.17 in Linux. > > Signed-off-by: Johan Jonker > Reviewed-by: Simon Glass > Reviewed-by: Kever Yang > --- > include/dt-bindings/power/rk3228-power.h | 21 +++++++++++++++++++++ > 1 file changed, 21 insertions(+) > create mode 100644 include/dt-bindings/power/rk3228-power.h > > diff --git a/include/dt-bindings/power/rk3228-power.h b/include/dt-bindings/power/rk3228-power.h > new file mode 100644 > index 00000000..6a8dc1bf > --- /dev/null > +++ b/include/dt-bindings/power/rk3228-power.h > @@ -0,0 +1,21 @@ > +/* SPDX-License-Identifier: GPL-2.0 */ > +#ifndef __DT_BINDINGS_POWER_RK3228_POWER_H__ > +#define __DT_BINDINGS_POWER_RK3228_POWER_H__ > + > +/** > + * RK3228 idle id Summary. > + */ > + > +#define RK3228_PD_CORE 0 > +#define RK3228_PD_MSCH 1 > +#define RK3228_PD_BUS 2 > +#define RK3228_PD_SYS 3 > +#define RK3228_PD_VIO 4 > +#define RK3228_PD_VOP 5 > +#define RK3228_PD_VPU 6 > +#define RK3228_PD_RKVDEC 7 > +#define RK3228_PD_GPU 8 > +#define RK3228_PD_PERI 9 > +#define RK3228_PD_GMAC 10 > + > +#endif