From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933383AbdCaWGO (ORCPT ); Fri, 31 Mar 2017 18:06:14 -0400 Received: from mail-pg0-f42.google.com ([74.125.83.42]:35274 "EHLO mail-pg0-f42.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755706AbdCaWGL (ORCPT ); Fri, 31 Mar 2017 18:06:11 -0400 From: John Stultz To: lkml Cc: John Stultz , Zhangfei Gao , Liam Girdwood , Mark Brown , Jaroslav Kysela , Takashi Iwai , Wei Xu , Rob Herring , Andy Green , Dave Long , Guodong Xu Subject: [PATCH 0/3 v4] HiKey i2s bindings, driver and dts changes Date: Fri, 31 Mar 2017 15:05:58 -0700 Message-Id: <1490997961-31937-1-git-send-email-john.stultz@linaro.org> X-Mailer: git-send-email 2.7.4 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patchset provides i2s audio driver and dts changes in order to enable HDMI audio on the HiKey board. Its been a few months since I last sent this out, but I wanted to try to get some thoughts after trying to integrate some of the feedback I've gotten since then. Overally, the current i2s driver is somewhat limited, as the SoC supports three different i2s routes. However, without documentation this driver was originally developed by Andy Green with only an old 3.10 era vendor driver for reference, so the driver only supports one i2s route (S2) which goes to the HDMI bridge on HiKey. >>From previous feedback, I have reworked the DTS binding a tiny bit, to allow multi dais to be specified, which will allow other i2s routes/dai links (such as is available on the LS connector) to be used once we manage to figure out how to enable them properly. Further feedback would be greatly appreciated! Though audio is not an area of my expertise, so the more specific the better :) thanks -john Cc: Zhangfei Gao Cc: Liam Girdwood Cc: Mark Brown Cc: Jaroslav Kysela Cc: Takashi Iwai Cc: Wei Xu Cc: Rob Herring Cc: Andy Green Cc: Dave Long Cc: Guodong Xu Andy Green (1): ASoC: hisilicon: Add hi6210 i2s audio driver John Stultz (2): ASoC: add hi6210-i2s DT bindings arm64: dts: hi6220: Add k3-dma and i2s/hdmi audio support .../bindings/sound/hisilicon,hi6210-i2s.txt | 34 ++ arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts | 16 + arch/arm64/boot/dts/hisilicon/hi6220.dtsi | 26 + sound/soc/Kconfig | 1 + sound/soc/Makefile | 1 + sound/soc/hisilicon/Kconfig | 5 + sound/soc/hisilicon/Makefile | 1 + sound/soc/hisilicon/hi6210-i2s.c | 628 +++++++++++++++++++++ sound/soc/hisilicon/hi6210-i2s.h | 276 +++++++++ 9 files changed, 988 insertions(+) create mode 100644 Documentation/devicetree/bindings/sound/hisilicon,hi6210-i2s.txt create mode 100644 sound/soc/hisilicon/Kconfig create mode 100644 sound/soc/hisilicon/Makefile create mode 100644 sound/soc/hisilicon/hi6210-i2s.c create mode 100644 sound/soc/hisilicon/hi6210-i2s.h -- 2.7.4