From: Jyri Sarha <jsarha@ti.com>
To: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Cc: fabrizio.castro@bp.renesas.com, devicetree@vger.kernel.org,
Songjun.Wu@atmel.com, dri-devel@lists.freedesktop.org,
peter.ujfalusi@ti.com, tomi.valkeinen@ti.com,
voice.shen@atmel.com
Subject: Re: [PATCH v4 5/6] dt-bindings: display: sii902x: Add HDMI audio bindings
Date: Tue, 19 Mar 2019 16:38:45 +0200 [thread overview]
Message-ID: <70d217c1-801f-dd4e-a37e-4d4a8550293f@ti.com> (raw)
In-Reply-To: <20190317161609.GD17898@pendragon.ideasonboard.com>
On 17/03/2019 18:16, Laurent Pinchart wrote:
> Hi Jyri,
>
> Thank you for the patch.
>
> On Thu, Mar 14, 2019 at 01:27:51PM +0200, Jyri Sarha wrote:
>> The sii902x chip family supports also HDMI audio. Add binding for
>> describing the necessary i2s and mclk wiring for it.
>>
>> Signed-off-by: Jyri Sarha <jsarha@ti.com>
>> ---
>> .../bindings/display/bridge/sii902x.txt | 33 +++++++++++++++++++
>> 1 file changed, 33 insertions(+)
>>
>> diff --git a/Documentation/devicetree/bindings/display/bridge/sii902x.txt b/Documentation/devicetree/bindings/display/bridge/sii902x.txt
>> index c4c1855ca654..1a37bbe7c597 100644
>> --- a/Documentation/devicetree/bindings/display/bridge/sii902x.txt
>> +++ b/Documentation/devicetree/bindings/display/bridge/sii902x.txt
>> @@ -9,6 +9,33 @@ Optional properties:
>> about hotplug events.
>> - reset-gpios: OF device-tree gpio specification for RST_N pin.
>>
>> + HDMI audio properties:
>> + - i2s-data-lanes: Array of up to 4 integers with values of 0-3
>> + Each integer indicates which i2s pin is connected to which
>> + audio fifo. The first integer selects i2s audio pin for the
>> + first audio fifo#0 (HDMI channels 1&2), second for fifo#1
>> + (HDMI channels 3&4), and so on. There is 4 fifos and 4 i2s
>> + pins (SD0 - SD3). Any i2s pin can be connected to any fifo,
>> + but there can be no gaps. E.g. an i2s pin must be mapped to
>> + fifo#0 and fifo#1 before mapping a channel to fifo#2.
>> + I2S HDMI audio is configured only if this property is found.
> This looks good to me, but shouldn't the property be defined somewhere
> in Documentation/devicetree/bindings/sound/ ? The sound bindings seem to
> be a bit messy though, with little common or high-level documentation,
> so I don't want to ask you to fix all that :-) Maybe just adding a
> common-i2s.txt file there would be enough ?
>
> Apart from this the rest looks good to me, but I'd appreciate if it
> could be reviewed by audio people.
>
When I think about this property, it hardly is a generic enough to for
all i2s devices or even codecs. That would probably require gaps in the
i2s-data-lane order. I would not want to create common-i2s.txt just for
this property. The is some many other properties that should be added
there first. Maybe this should be made vendor specific property after all.
I think I make a resend with alsa-devel included.
Best regards,
Jyri
--
Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki.
Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
next prev parent reply other threads:[~2019-03-19 14:38 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-03-14 11:27 [PATCH v4 0/6] drm/bridge: sii902x: HDMI-audio support and some fixes Jyri Sarha
2019-03-14 11:27 ` [PATCH v4 1/6] drm/bridge: sii902x: add input_bus_flags Jyri Sarha
2019-03-14 11:27 ` [PATCH v4 2/6] drm/bridge: sii902x: Set output mode to HDMI or DVI according to EDID Jyri Sarha
2019-03-14 11:27 ` [PATCH v4 3/6] drm/bridge: sii902x: pixel clock unit is 10kHz instead of 1kHz Jyri Sarha
2019-03-14 11:27 ` [PATCH v4 4/6] dt-bindings: display: sii902x: Remove trailing white space Jyri Sarha
2019-03-15 23:38 ` Rob Herring
2019-03-14 11:27 ` [PATCH v4 5/6] dt-bindings: display: sii902x: Add HDMI audio bindings Jyri Sarha
2019-03-17 16:16 ` Laurent Pinchart
2019-03-19 14:38 ` Jyri Sarha [this message]
2019-04-20 23:12 ` Laurent Pinchart
2019-03-25 19:20 ` Rob Herring
2019-03-14 11:27 ` [PATCH v4 6/6] drm/bridge: sii902x: Implement HDMI audio support Jyri Sarha
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=70d217c1-801f-dd4e-a37e-4d4a8550293f@ti.com \
--to=jsarha@ti.com \
--cc=Songjun.Wu@atmel.com \
--cc=devicetree@vger.kernel.org \
--cc=dri-devel@lists.freedesktop.org \
--cc=fabrizio.castro@bp.renesas.com \
--cc=laurent.pinchart@ideasonboard.com \
--cc=peter.ujfalusi@ti.com \
--cc=tomi.valkeinen@ti.com \
--cc=voice.shen@atmel.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).