Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp1506793ybt; Thu, 2 Jul 2020 07:12:59 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwW8+JWDCVyyCDHeLqs6Ky89eqRKiR/xUX5wHCrkCPalHueqtWmBPPjZVkF0DsvcnAai5hd X-Received: by 2002:a17:906:35cd:: with SMTP id p13mr27653670ejb.172.1593699179460; Thu, 02 Jul 2020 07:12:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593699179; cv=none; d=google.com; s=arc-20160816; b=MPnaX6Mf6x76DeArXzTjdPEKgnN3ZqYQtFSTFs/VheO27eFWP1lDPuaxwzWmYjAXqk x/xT8KD0vRUr0E7Znff2WvHu6kvCRdNxBPX70p3xu7peQqTOSgbcVGxz9gjelU2W7qtt TMr0D9L5h6aQUt4uJHrBbfkzK16M23Eg3aW+ZTZkmir9b8XxlzXELJQDqVdpqAiSxsyA qqrub7ShlPOVFG2Wd/BaioaZzd18ZNQAt9TQBoecJNgX9cb9BODpwnf24334x4e5mRgu ATOP5xsSKrJpwd6uq/C1wc/kOimU3TTdif2HeCcF3iJj3267ab3jGJNTIAEX+PKkaSJE 4cnA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:to:content-transfer-encoding:mime-version :message-id:date:subject:cc:from; bh=mKung1vf2242fz4puXPvwDqB6CGeayGlPBcjguBiJzo=; b=r86cSPvRbiYVuSopl7GCTLzE8cQ9ju4REi3lfqRug26noihCbODJnJBIrs9Xu6sMib Ox962aZIm2Yuy9EPQHGwW5KmLNVbdU9JENulM7oW55iO9q+MaOu0YXBgMiPs++jA31c+ 2oiKJUvcM5o32AeviiMbq72NwbDSpmaBBczjuQBklJ4v969/6RcBlmqXwOeJCjT5g58N 552T+PZIK2sNtm4XDm0xdHbc9DMIXbNPzPf6qqECImTIKAhXCVnEvXzAzubSfMkdxxhk g5MNCDDrUBt3KeSnCxNQtTug0XcrJZuF18SOXddCpzlWMagMOfMIEivHKgFyMrhbQUGT wC6g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=collabora.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id ni2si557604ejb.19.2020.07.02.07.12.36; Thu, 02 Jul 2020 07:12:59 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729479AbgGBOMU (ORCPT + 99 others); Thu, 2 Jul 2020 10:12:20 -0400 Received: from bhuna.collabora.co.uk ([46.235.227.227]:59124 "EHLO bhuna.collabora.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728179AbgGBOMT (ORCPT ); Thu, 2 Jul 2020 10:12:19 -0400 Received: from xps.home (unknown [IPv6:2a01:e35:2fb5:1510:315a:ecf0:6250:a3ed]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: aferraris) by bhuna.collabora.co.uk (Postfix) with ESMTPSA id D7F002A5EC2; Thu, 2 Jul 2020 15:12:17 +0100 (BST) From: Arnaud Ferraris Cc: kernel@collabora.com, Liam Girdwood , Mark Brown , Rob Herring , Timur Tabi , Nicolin Chen , Xiubo Li , Fabio Estevam , Jaroslav Kysela , Takashi Iwai , alsa-devel@alsa-project.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org Subject: [PATCH 0/2] ASoC: fsl-asoc-card: add support for generic codecs Date: Thu, 2 Jul 2020 16:11:13 +0200 Message-Id: <20200702141114.232688-1-arnaud.ferraris@collabora.com> X-Mailer: git-send-email 2.27.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit To: unlisted-recipients:; (no To-header on input) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org fsl-asoc-card currently only works with AC97 or a selection of codecs, although the hardware is capable of more. Supporting generic codecs when acting as I2S slave (codec is master) would be useful, especially when using Bluetooth audio, as these are generally simple I2S devices not controlled by the sound subsystem. This will allow using simple/dummy codecs along with ASRC. Arnaud Ferraris (2): dt-bindings: sound: fsl-asoc-card: add new compatible for I2S slave ASoC: fsl-asoc-card: add support for generic I2S slave use-case Documentation/devicetree/bindings/sound/fsl-asoc-card.txt | 23 ++++++++++++++++++++++- sound/soc/fsl/fsl-asoc-card.c | 46 +++++++++++++++++++++++++++++++++++----------- 2 files changed, 57 insertions(+), 12 deletions(-)