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 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 9789EC433EF for ; Wed, 6 Apr 2022 15:01:28 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 39E2783DED; Wed, 6 Apr 2022 17:01:26 +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 E854A83DFF; Wed, 6 Apr 2022 17:01:24 +0200 (CEST) Received: from mail-m17664.qiye.163.com (mail-m17664.qiye.163.com [59.111.176.64]) (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 6A6A883DE2 for ; Wed, 6 Apr 2022 17:01:20 +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 [192.168.0.115] (unknown [112.49.233.126]) by mail-m17664.qiye.163.com (Hmail) with ESMTPA id D7FCA1402BA; Wed, 6 Apr 2022 23:01:07 +0800 (CST) Message-ID: <409fcb10-8635-ecd2-6f7d-da7d4673e572@rock-chips.com> Date: Wed, 6 Apr 2022 23:01:07 +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 v9 01/16] rockchip: rk3066-power: sync power domain dt-binding header from Linux Content-Language: en-US To: Johan Jonker Cc: sjg@chromium.org, philipp.tomsich@vrull.eu, lukma@denx.de, seanga2@gmail.com, u-boot@lists.denx.de References: <20220404141926.6085-1-jbx6244@gmail.com> <20220404141926.6085-2-jbx6244@gmail.com> From: Kever Yang In-Reply-To: <20220404141926.6085-2-jbx6244@gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-HM-Spam-Status: e1kfGhgUHx5ZQUtXWQgPGg8OCBgUHx5ZQUlOS1dZCBgUCR5ZQVlLVUtZV1 kWDxoPAgseWUFZKDYvK1lXWShZQUhPN1dZLVlBSVdZDwkaFQgSH1lBWUJISUhWTRhMSE9DTEtOGh 1DVRMBExYaEhckFA4PWVdZFhoPEhUdFFlBWU9LSFVKSktISkxVS1kG X-HM-Sender-Digest: e1kMHhlZQR0aFwgeV1kSHx4VD1lBWUc6NCo6SSo*Ej4MCUlPURpMSC81 K0sKCTpVSlVKTU9CSU5MSU1DSk1PVTMWGhIXVRAeDR4JVQIaFRw7CRQYEFYYExILCFUYFBZFWVdZ EgtZQVlKSklVT0JVSUhIVUpJTVlXWQgBWUFJTU5JNwY+ X-HM-Tid: 0a7fff64c31cda2fkuwsd7fca1402ba 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 On 2022/4/4 22:19, Johan Jonker wrote: > In order to update the DT for rk3066 > sync the power domain dt-binding header. > This is the state as of v5.12 in Linux. > > Signed-off-by: Johan Jonker Reviewed-by: Kever Yang Thanks, - Kever > --- > include/dt-bindings/power/rk3066-power.h | 22 ++++++++++++++++++++++ > 1 file changed, 22 insertions(+) > create mode 100644 include/dt-bindings/power/rk3066-power.h > > diff --git a/include/dt-bindings/power/rk3066-power.h b/include/dt-bindings/power/rk3066-power.h > new file mode 100644 > index 0000000000..acf9f310ac > --- /dev/null > +++ b/include/dt-bindings/power/rk3066-power.h > @@ -0,0 +1,22 @@ > +/* SPDX-License-Identifier: GPL-2.0 */ > +#ifndef __DT_BINDINGS_POWER_RK3066_POWER_H__ > +#define __DT_BINDINGS_POWER_RK3066_POWER_H__ > + > +/* VD_CORE */ > +#define RK3066_PD_A9_0 0 > +#define RK3066_PD_A9_1 1 > +#define RK3066_PD_DBG 4 > +#define RK3066_PD_SCU 5 > + > +/* VD_LOGIC */ > +#define RK3066_PD_VIDEO 6 > +#define RK3066_PD_VIO 7 > +#define RK3066_PD_GPU 8 > +#define RK3066_PD_PERI 9 > +#define RK3066_PD_CPU 10 > +#define RK3066_PD_ALIVE 11 > + > +/* VD_PMU */ > +#define RK3066_PD_RTC 12 > + > +#endif