From mboxrd@z Thu Jan 1 00:00:00 1970 From: sjg at google.com Date: Fri, 14 Dec 2018 07:35:57 -0800 Subject: [U-Boot] [PATCH v2 10/22] dm: sound: Add conversion to driver model In-Reply-To: <20181210173751.177266-11-sjg@chromium.org> References: <20181210173751.177266-11-sjg@chromium.org> <20181210173751.177266-1-sjg@chromium.org> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass --- Changes in v2: - Correct conversion for pit - Use void * for i2c and sound data arch/arm/dts/exynos5250-smdk5250.dts | 1 + arch/arm/dts/exynos5420-smdk5420.dts | 1 + drivers/sound/Makefile | 6 +- drivers/sound/max98095.c | 59 +++++++++++++- drivers/sound/samsung-i2s.c | 111 +++++++++++++++++++++++---- drivers/sound/samsung_sound.c | 101 ++++++++++++++++++++++++ drivers/sound/wm8994.c | 53 ++++++++++++- 7 files changed, 316 insertions(+), 16 deletions(-) create mode 100644 drivers/sound/samsung_sound.c Applied to u-boot-dm/master