From: broonie@kernel.org (Mark Brown)
To: linux-snps-arc@lists.infradead.org
Subject: [PATCH 2/3 v2] ASoC: dwc: Add I2S HDMI audio support
Date: Thu, 31 Mar 2016 09:56:42 -0700 [thread overview]
Message-ID: <20160331165642.GG2350@sirena.org.uk> (raw)
In-Reply-To: <56FCEFD0.8090509@synopsys.com>
On Thu, Mar 31, 2016@10:37:20AM +0100, Jose Abreu wrote:
> On 29-03-2016 19:22, Mark Brown wrote:
> > If you want to add a new platform driver you need to add a new platform
> > driver, not shove the code into an existing driver for a seperate IP.
> I can separate the platform driver into a new file but they will have to be
> compiled into the same module as the new additions to the i2s driver depend on
> functions of the platform driver (see i2s_irq_handler()). Or should I divide
No, that's not at all acceptable. The Designware IP is not specific to
your system, you can't make it depend on your platform driver. The
kernel needs to work on other people's systems too. You need to work
through and/or extend the abstractions the framework provides to
separate the drivers for different IPs.
> this into two modules and add a Kconfig option to the platform driver? Besides
> this I first wanted the driver to be compiled into the same module so that it is
> compatible with kernel 3.18 where simple audio card requires that platform
> driver == cpu driver.
That's not OK upstream, we're working on the current kernel not on
random old kernels. We don't carry compatibility code to enable current
kernel code to be run on years old kernels.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-snps-arc/attachments/20160331/22fcdcbc/attachment.sig>
next prev parent reply other threads:[~2016-03-31 16:56 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-03-28 14:36 [PATCH 0/3 v2] Add I2S/ADV7511 audio support for ARC AXS10x boards Jose Abreu
2016-03-28 14:36 ` [PATCH 1/3 v2] drm/i2c/adv7511: Add audio support Jose Abreu
2016-03-29 8:05 ` Archit Taneja
2016-03-29 10:52 ` Jose Abreu
2016-03-29 17:03 ` Archit Taneja
2016-03-31 12:57 ` Jose Abreu
2016-03-30 9:58 ` Emil Velikov
2016-04-01 17:10 ` Laurent Pinchart
2016-04-04 9:05 ` Jose Abreu
2016-04-04 21:41 ` Laurent Pinchart
2016-04-05 11:00 ` Jose Abreu
2016-04-05 16:03 ` Laurent Pinchart
2016-04-03 5:05 ` kbuild test robot
2016-03-28 14:36 ` [PATCH 2/3 v2] ASoC: dwc: Add I2S HDMI " Jose Abreu
2016-03-28 15:35 ` Alexey Brodkin
2016-03-28 16:07 ` Jose Abreu
2016-03-29 17:31 ` Mark Brown
[not found] ` <56FAC355.1040705@synopsys.com>
2016-03-29 18:22 ` Mark Brown
2016-03-31 9:37 ` Jose Abreu
2016-03-31 16:56 ` Mark Brown [this message]
2016-03-28 14:36 ` [PATCH 3/3 v2] arc: axs10x: Add support for Designware I2S on DT Jose Abreu
2016-03-29 17:00 ` [PATCH 0/3 v2] Add I2S/ADV7511 audio support for ARC AXS10x boards Mark Brown
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=20160331165642.GG2350@sirena.org.uk \
--to=broonie@kernel.org \
--cc=linux-snps-arc@lists.infradead.org \
/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