From: Heiko Stuebner <heiko@sntech.de>
To: Maxime Chevallier <maxime.chevallier@bootlin.com>
Cc: Mauro Carvalho Chehab <mchehab@kernel.org>,
Rob Herring <robh+dt@kernel.org>,
Mark Rutland <mark.rutland@arm.com>,
Hans Verkuil <hverkuil-cisco@xs4all.nl>,
linux-media@vger.kernel.org, devicetree@vger.kernel.org,
linux-arm-kernel@lists.infradead.org,
linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org,
Thomas Petazzoni <thomas.petazzoni@bootlin.com>,
Miquel Raynal <miquel.raynal@bootlin.com>,
Paul Kocialkowski <paul.kocialkowski@bootlin.com>
Subject: Re: [PATCH 1/3] media: dt-bindings: media: Document Rockchip CIF bindings
Date: Fri, 03 Apr 2020 18:25:05 +0200 [thread overview]
Message-ID: <1766530.2SdDkCQg1P@phil> (raw)
In-Reply-To: <20200403142122.297283-2-maxime.chevallier@bootlin.com>
Hi Maxime,
Am Freitag, 3. April 2020, 16:21:20 CEST schrieb Maxime Chevallier:
> Add a documentation for the Rockchip Camera Interface controller
> binding.
>
> This controller can be found on platforms such as the PX30 or the
> RK3288, the PX30 being the only platform supported so far.
>
> Signed-off-by: Maxime Chevallier <maxime.chevallier@bootlin.com>
> ---
> .../bindings/media/rockchip-cif.yaml | 98 +++++++++++++++++++
> 1 file changed, 98 insertions(+)
> create mode 100644 Documentation/devicetree/bindings/media/rockchip-cif.yaml
>
> diff --git a/Documentation/devicetree/bindings/media/rockchip-cif.yaml b/Documentation/devicetree/bindings/media/rockchip-cif.yaml
> new file mode 100644
> index 000000000000..87fb5e136edd
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/media/rockchip-cif.yaml
> @@ -0,0 +1,98 @@
> +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
> +%YAML 1.2
> +---
> +$id: http://devicetree.org/schemas/media/rockchip-cif.yaml#
> +$schema: http://devicetree.org/meta-schemas/core.yaml#
> +
> +title: Rockchip Camera Interface (CIF)
> +
> +maintainers:
> + - Maxime Chevallier <maxime.chevallier@bootlin.com>
> +
> +description: |-
> +Camera Interface for Rockcip platforms
> +
> +properties:
> + compatible:
> + const: rockchip,px30-cif
> +
> + reg:
> + maxItems: 1
> +
> + interrupts:
> + maxItems: 1
> +
> + clocks:
> + items:
> + - description: ACLK
> + - description: HCLK
> + - description: PCLK
> + - description: CIF_OUT
> +
> + clock-names:
> + items:
> + - const: aclk_cif
> + - const: hclk_cif
> + - const: pclk_cif
> + - const: cif_out
names for clocks / reset are always local to the node/ip-block
so there is no need to have that _cif in them.
Also the pclk isn't coming from the cru but from some external source
at least on px30 and rk3288 (and I guess others as well), so maybe
that deserves a distinct name.
Maybe something like aclk, hclk, pclkin or so?
Also the cif_out clock is not actual part of the CIF block, on both
the rk3288 and px30 (and probably the others too) it is generated
in the SoC's clock controller and then just led to an output-pin on
the soc, so I'd assume a peripheral wanting to use that would take
care of setting+enabling that clock (similar to the i2s mclk)?
> +
> + resets:
> + items:
> + - description: Reset CIF A
> + - description: Reset CIF H
> + - description: Reset CIF PCLK IN
> +
> + reset-names:
> + items:
> + - const: rst_cif_a
> + - const: rst_cif_h
> + - const: rst_cif_pclkin
Same here, maybe just "axi", "ahb", "pclkin" like the
vop resets do?
Heiko
next prev parent reply other threads:[~2020-04-03 16:25 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-04-03 14:21 [PATCH 0/3] media: rockchip: Introduce driver for the camera interface on PX30 Maxime Chevallier
2020-04-03 14:21 ` [PATCH 1/3] media: dt-bindings: media: Document Rockchip CIF bindings Maxime Chevallier
2020-04-03 16:25 ` Heiko Stuebner [this message]
2020-04-04 17:00 ` Rob Herring
2020-04-03 14:21 ` [PATCH 2/3] media: rockchip: Introduce driver for Rockhip's camera interface Maxime Chevallier
2020-04-16 9:35 ` Hans Verkuil
2020-06-01 6:58 ` Maxime Chevallier
2020-04-16 12:48 ` Robin Murphy
2020-04-03 14:21 ` [PATCH 3/3] arm64: dts: rockchip: Add the camera interface description of the PX30 Maxime Chevallier
2020-04-03 16:27 ` Heiko Stuebner
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=1766530.2SdDkCQg1P@phil \
--to=heiko@sntech.de \
--cc=devicetree@vger.kernel.org \
--cc=hverkuil-cisco@xs4all.nl \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-media@vger.kernel.org \
--cc=linux-rockchip@lists.infradead.org \
--cc=mark.rutland@arm.com \
--cc=maxime.chevallier@bootlin.com \
--cc=mchehab@kernel.org \
--cc=miquel.raynal@bootlin.com \
--cc=paul.kocialkowski@bootlin.com \
--cc=robh+dt@kernel.org \
--cc=thomas.petazzoni@bootlin.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).