All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andre Przywara <andre.przywara@arm.com>
To: Jesse Taube <mr.bossman075@gmail.com>
Cc: u-boot@lists.denx.de, jagan@amarulasolutions.com,
	hdegoede@redhat.com, sjg@chromium.org, icenowy@aosc.io,
	marek.behun@nic.cz, festevam@denx.de, narmstrong@baylibre.com,
	tharvey@gateworks.com, christianshewitt@gmail.com,
	pbrobinson@gmail.com, jernej.skrabec@gmail.com, hs@denx.de,
	samuel@sholland.org, arnaud.ferraris@gmail.com,
	giulio.benetti@benettiengineering.com,
	thirtythreeforty@gmail.com
Subject: Re: [PATCH v2 04/12] dt-bindings: clock: Add initial suniv headers
Date: Sat, 29 Jan 2022 02:05:52 +0000	[thread overview]
Message-ID: <20220129020552.76a26142@slackpad.fritz.box> (raw)
In-Reply-To: <20220126135329.2997430-5-Mr.Bossman075@gmail.com>

On Wed, 26 Jan 2022 08:53:21 -0500
Jesse Taube <mr.bossman075@gmail.com> wrote:

> From: Icenowy Zheng <icenowy@aosc.io>
> 
> This commit introduces suniv dt-bindings headers needed for
> device tree files.

Looks better, but please do a verbatim copy from a (recent) Linux tree,
using the mainline file names, and noting the tag or commit hash in the
commit message (just take 5.16.0, for instance). And please merge
this with the next patch (the reset header), and actually also the
device tree files from patch 11/12. I think the original series had
clock driver support, for which we need the symbols from those headers
earlier, but in this version here this is not the case.
So to reduce the churn: One patch towards the end, with .h, .dtsi and
.dts, all directly copied from Linux.

Cheers,
Andre

> Signed-off-by: Icenowy Zheng <icenowy@aosc.io>
> Signed-off-by: Jesse Taube <Mr.Bossman075@gmail.com>
> ---
> V1->V2:
> * Sync with Linux
> ---
>  include/dt-bindings/clock/suniv-ccu.h | 69 +++++++++++++++++++++++++++
>  1 file changed, 69 insertions(+)
>  create mode 100644 include/dt-bindings/clock/suniv-ccu.h
> 
> diff --git a/include/dt-bindings/clock/suniv-ccu.h b/include/dt-bindings/clock/suniv-ccu.h
> new file mode 100644
> index 0000000000..1cbb23b5c5
> --- /dev/null
> +++ b/include/dt-bindings/clock/suniv-ccu.h
> @@ -0,0 +1,69 @@
> +/* SPDX-License-Identifier: (GPL-2.0+ or MIT) */
> +/*
> + * Copyright (c) 2018 Icenowy Zheng <icenowy@aosc.io>
> + */
> +
> +#ifndef _DT_BINDINGS_CLK_SUNIV_H_
> +#define _DT_BINDINGS_CLK_SUNIV_H_
> +
> +#define CLK_CPU			11
> +
> +#define CLK_BUS_DMA		14
> +#define CLK_BUS_MMC0		15
> +#define CLK_BUS_MMC1		16
> +#define CLK_BUS_DRAM		17
> +#define CLK_BUS_SPI0		18
> +#define CLK_BUS_SPI1		19
> +#define CLK_BUS_OTG		20
> +#define CLK_BUS_VE		21
> +#define CLK_BUS_LCD		22
> +#define CLK_BUS_DEINTERLACE	23
> +#define CLK_BUS_CSI		24
> +#define CLK_BUS_TVD		25
> +#define CLK_BUS_TVE		26
> +#define CLK_BUS_DE_BE		27
> +#define CLK_BUS_DE_FE		28
> +#define CLK_BUS_CODEC		29
> +#define CLK_BUS_SPDIF		30
> +#define CLK_BUS_IR		31
> +#define CLK_BUS_RSB		32
> +#define CLK_BUS_I2S0		33
> +#define CLK_BUS_I2C0		34
> +#define CLK_BUS_I2C1		35
> +#define CLK_BUS_I2C2		36
> +#define CLK_BUS_PIO		37
> +#define CLK_BUS_UART0		38
> +#define CLK_BUS_UART1		39
> +#define CLK_BUS_UART2		40
> +
> +#define CLK_MMC0		41
> +#define CLK_MMC0_SAMPLE		42
> +#define CLK_MMC0_OUTPUT		43
> +#define CLK_MMC1		44
> +#define CLK_MMC1_SAMPLE		45
> +#define CLK_MMC1_OUTPUT		46
> +#define CLK_I2S			47
> +#define CLK_SPDIF		48
> +
> +#define CLK_USB_PHY0		49
> +
> +#define CLK_DRAM_VE		50
> +#define CLK_DRAM_CSI		51
> +#define CLK_DRAM_DEINTERLACE	52
> +#define CLK_DRAM_TVD		53
> +#define CLK_DRAM_DE_FE		54
> +#define CLK_DRAM_DE_BE		55
> +
> +#define CLK_DE_BE		56
> +#define CLK_DE_FE		57
> +#define CLK_TCON		58
> +#define CLK_DEINTERLACE		59
> +#define CLK_TVE2_CLK		60
> +#define CLK_TVE1_CLK		61
> +#define CLK_TVD			62
> +#define CLK_CSI			63
> +#define CLK_VE			64
> +#define CLK_CODEC		65
> +#define CLK_AVS			66
> +
> +#endif


  reply	other threads:[~2022-01-29  2:06 UTC|newest]

Thread overview: 33+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-26 13:53 [PATCH v2 00/12] Add support for SUNIV and F1C100s Jesse Taube
2022-01-26 13:53 ` [PATCH v2 01/12] arm: arm926ej-s: start.S: port save_boot_params support from armv7 code Jesse Taube
2022-01-26 13:53 ` [PATCH v2 02/12] mach-sunxi: Move timer code to mach folder Jesse Taube
2022-01-27 10:21   ` Andre Przywara
2022-01-27 20:40     ` Jesse Taube
2022-01-28  0:41       ` Andre Przywara
2022-01-28  4:51         ` Jesse Taube
2022-01-28 14:28           ` Andre Przywara
2022-01-28 22:40             ` Jesse Taube
2022-01-26 13:53 ` [PATCH v2 03/12] arm: arm926ej-s: Add sunxi code Jesse Taube
2022-01-29  2:05   ` Andre Przywara
2022-01-29  2:42     ` Jesse Taube
2022-01-29 11:22       ` Andre Przywara
2022-01-26 13:53 ` [PATCH v2 04/12] dt-bindings: clock: Add initial suniv headers Jesse Taube
2022-01-29  2:05   ` Andre Przywara [this message]
2022-01-26 13:53 ` [PATCH v2 05/12] dt-bindings: reset: " Jesse Taube
2022-01-26 13:53 ` [PATCH v2 06/12] ARM: sunxi: Add clock and uart to sunxi headers Jesse Taube
2022-01-29  2:11   ` Andre Przywara
2022-01-26 13:53 ` [PATCH v2 07/12] sunxi: Add F1C100s DRAM initial support Jesse Taube
2022-01-26 13:53 ` [PATCH v2 08/12] sunxi: board: Add support for SUNIV Jesse Taube
2022-01-26 13:53 ` [PATCH v2 09/12] configs: sunxi: Add common SUNIV header Jesse Taube
2022-01-26 17:43   ` Jesse Taube
2022-01-29  2:18   ` Andre Przywara
2022-01-26 13:53 ` [PATCH v2 10/12] mach-sunxi: Add support for SUNIV architecture Jesse Taube
2022-01-26 13:53 ` [PATCH v2 11/12] ARM: dts: suniv: Add device tree files for F1C100s Jesse Taube
2022-01-29  2:25   ` Andre Przywara
2022-01-29  2:31     ` Jesse Taube
2022-01-29  2:37       ` Andre Przywara
2022-01-29  3:01         ` Jesse Taube
2022-01-29 11:25           ` Andre Przywara
2022-01-26 13:53 ` [PATCH v2 12/12] configs: sunxi: Add support for Lichee Pi Nano Jesse Taube
2022-01-29  2:40 ` [PATCH v2 00/12] Add support for SUNIV and F1C100s Andre Przywara
2022-01-29  2:44   ` Jesse Taube

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220129020552.76a26142@slackpad.fritz.box \
    --to=andre.przywara@arm.com \
    --cc=arnaud.ferraris@gmail.com \
    --cc=christianshewitt@gmail.com \
    --cc=festevam@denx.de \
    --cc=giulio.benetti@benettiengineering.com \
    --cc=hdegoede@redhat.com \
    --cc=hs@denx.de \
    --cc=icenowy@aosc.io \
    --cc=jagan@amarulasolutions.com \
    --cc=jernej.skrabec@gmail.com \
    --cc=marek.behun@nic.cz \
    --cc=mr.bossman075@gmail.com \
    --cc=narmstrong@baylibre.com \
    --cc=pbrobinson@gmail.com \
    --cc=samuel@sholland.org \
    --cc=sjg@chromium.org \
    --cc=tharvey@gateworks.com \
    --cc=thirtythreeforty@gmail.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.