Received: by 2002:a89:413:0:b0:1fd:dba5:e537 with SMTP id m19csp933671lqs; Fri, 14 Jun 2024 09:36:47 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWsPcBQNMt1f0ijfreE+bHro0NOW3GWy1SVBkls0qYayxk2vPduAX8vOZlfswwKuKbkf2kH1tiOWqhXb53LnbIOSHEFwNSzgdB4F9Rp8w== X-Google-Smtp-Source: AGHT+IH8pbqxqbD6s0Ts29DGhJB8idV67SszL/+77cQZcXmHK0FPdNItwethUmFUjjOezzblc+TG X-Received: by 2002:a05:622a:54e:b0:440:c291:9c63 with SMTP id d75a77b69052e-44216b1c1cfmr32297971cf.48.1718383006738; Fri, 14 Jun 2024 09:36:46 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718383006; cv=pass; d=google.com; s=arc-20160816; b=Gs35m/pAPuun7jDUAz2Ph21AuDAhf9MDMXyVIhoJ2JRApCG4QSjCvXfVHGiZ2Ti1An Pw2tMXtpISX8C9dml8jqQx13kI0G0b3I8+SG2QkBdhhPYdcFkizMFQt8V63dl46EdLnP odT8iPLzPGR7VWFmA+hibWykF9e/HvWUYntnCUfgvp89KwM4dYjmtc4A91jyVW2WzAE6 GwOLGb7UUpn7Y++Vig4AAP6yuhUSLS1rbcwqSFNwDq4KGVS9LJ7BBj1EqsD6pwM0m+HT Qmi6UGO3YHxatMk9FxYdaNv+Ms8CtymaPisfKWq9J8pPM30t4UyRFsyMd56bnqla0QBP IClA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=SYP4VucbC2/Jnuz/5Y5TpJxKEc0YEshxNGoLKrFr67Y=; fh=drDIMwGW892MEDQAqSnaUvnWDCzy9cwulC4Z3uAaeKs=; b=PSeuweY2Jmqnk+u6lWHwv5/YbFKdHKCbNybAPfGnuT5+GB+XNlGhZMJfWLHhR9u1jp yVd4oAf8IubRPgUkyBi5j6ezVEpQS6h9miB1XPJjsQs84P7K1xdZL6AAAKPkKiiHXpYn 50GBfRWYQsQ3ZQ0/pbztbpihwl4icNJP2A90D2O6U1BSGD06J0pSWUov70pWTmhYt7SH Nni3PGFoeP3x/XP+Ob/L16/Y5EQcy9Pf3Rp8WJw5tFisOucVw2eC9vKcaL96RqmfkkmT xOV9Cg0tfZ953cSRjT9gvOkcwenvyUXVtl0Cf3XrnSEpnxW2J+elEgRba7FsXQ15Wrtv JxyQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@timesys-com.20230601.gappssmtp.com header.s=20230601 header.b=muRdsBAD; arc=pass (i=1 spf=pass spfdomain=timesys.com dkim=pass dkdomain=timesys-com.20230601.gappssmtp.com); spf=pass (google.com: domain of linux-kernel+bounces-215269-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-215269-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id d75a77b69052e-441f2eab0f7si41662421cf.375.2024.06.14.09.36.46 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 14 Jun 2024 09:36:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-215269-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@timesys-com.20230601.gappssmtp.com header.s=20230601 header.b=muRdsBAD; arc=pass (i=1 spf=pass spfdomain=timesys.com dkim=pass dkdomain=timesys-com.20230601.gappssmtp.com); spf=pass (google.com: domain of linux-kernel+bounces-215269-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-215269-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 28CCC1C2416C for ; Fri, 14 Jun 2024 16:36:37 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id F3F21187560; Fri, 14 Jun 2024 16:35:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=timesys-com.20230601.gappssmtp.com header.i=@timesys-com.20230601.gappssmtp.com header.b="muRdsBAD" Received: from mail-ed1-f46.google.com (mail-ed1-f46.google.com [209.85.208.46]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 6410D181B91 for ; Fri, 14 Jun 2024 16:35:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.46 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718382920; cv=none; b=RgdTUoTwAOVjR14gPba7a2FMsvPIjLETs7Nf7g51qat1lc4s7r2FoKV7UmglyKUxQU/tlLyXtQflFs2TiaAvf2qSIE/F5bLwFv3Ar7LogbKD4etU6DUsoNhujQGwgJjRSZJXkuypb79PNiGeunGiv/OkDeti5MYBxzM33bKj144= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718382920; c=relaxed/simple; bh=LuXmN9tx1+9vM/aOgvWFhrlm3ooXyRad8K9vUy2MI7U=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=FbBFcFmvetkbzVszAlXT+/dFkucmrV6E91ssny10Op5Mvq4QuK7PLgc+NLFMS+DYZV8IhEBk7ccLvlOW9zPdyJmoJ0EUP3xH5VA8s0Mhfyh+zd/e2NtrLncRKOi70TbFhsDiZte7fydf5Ed/T6J/sFfqIVZJXT8+RCCFHmfENYY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=timesys.com; spf=pass smtp.mailfrom=timesys.com; dkim=pass (2048-bit key) header.d=timesys-com.20230601.gappssmtp.com header.i=@timesys-com.20230601.gappssmtp.com header.b=muRdsBAD; arc=none smtp.client-ip=209.85.208.46 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=timesys.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=timesys.com Received: by mail-ed1-f46.google.com with SMTP id 4fb4d7f45d1cf-57c83100c5fso2609682a12.3 for ; Fri, 14 Jun 2024 09:35:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=timesys-com.20230601.gappssmtp.com; s=20230601; t=1718382916; x=1718987716; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=SYP4VucbC2/Jnuz/5Y5TpJxKEc0YEshxNGoLKrFr67Y=; b=muRdsBAD40yg3pIdz7aI5D2k7rPYq8ypP30XjfXYzXS5ci/sRYOzA0IbQ3+S/1qFkP GTRaOd9/7i1tvpIAl7AaoR7f5KSeJARSlroMnSTdwwG8gdJ5jqkgHBVW6pmiBvX0SUvN Z8aXuyovSKsEQPhwYBdPQId7K5lnajZ/6tOzJa7TuZBcVWEafAESHRekXYyXr459OK9b ej9BWggbnW76MlNccbbWFRQyslWJqLsBwGMoRoVl7uGoVb/YqTxb4gqkHlZTDk1ubA2p qrCZQlvzBJnVHz0N+zZEUWTSai+ZYrEzYWtU1XDErVuL82Pe9ooPk1fHNY7AnbwzgAXo qYcw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718382916; x=1718987716; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=SYP4VucbC2/Jnuz/5Y5TpJxKEc0YEshxNGoLKrFr67Y=; b=MFDTLmsSRKqrMA3wSVVVtdY7wO54SRAzer69pZlVWdMGr7t7Oeni9Gd8v43BVHnhS5 DCqU0CQRarluicRbsBpCeqMyoq4Bq1er7Y1C4wCqyhXXlMrWb4GNCO7Fz1/28rBdptLQ VSYnVnLmf/OYG2w5U542xcww6VO1uTgHs5CLKAc0Jg9Wp5n6BU9FHgcGUBiXW90pRqz2 FN0F2R5vvBhubNMC1AaUVqzrG7nqFvmQDZUI889OncvP4McCSVXxmjapZ1/303Fsn95L ZvJzcgpgK27FU+5516AzLpkiUelbcoUDdAW9OpYWLf2GkjcJKOHHf5jryJZY7jfhkmit Ek1g== X-Forwarded-Encrypted: i=1; AJvYcCUS9sxu86xTfmtZTYm0r40VB8l13kBBWw0Ba4nl+R43txBAG787tiq4B7d4ezJB3Y4kjlDsN7xHufvKIOKxnUQom5AXDJn+GcaUEsmO X-Gm-Message-State: AOJu0Yx+MiPe4nSB5rPRsiA6Fk5FhKNHUfRzUSfK9hOsRz6lCe1eBNyW plMkwVdY5clW5f7uYAV6TeI1wf43zQ6SreKto+Zz5ge5gezKhCUo/0npFuqZPN0= X-Received: by 2002:a50:a6ca:0:b0:579:e7c5:1001 with SMTP id 4fb4d7f45d1cf-57cbd68ffe3mr1913077a12.23.1718382915504; Fri, 14 Jun 2024 09:35:15 -0700 (PDT) Received: from localhost.localdomain ([91.216.213.152]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-57cb72da156sm2462893a12.22.2024.06.14.09.35.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 14 Jun 2024 09:35:15 -0700 (PDT) From: Piotr Wojtaszczyk To: Cc: Piotr Wojtaszczyk , Liam Girdwood , Mark Brown , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Vladimir Zapolskiy , Russell King , Jaroslav Kysela , Takashi Iwai , "J.M.B. Downing" , Chancel Liu , Arnd Bergmann , Michael Ellerman , linux-sound@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, alsa-devel@alsa-project.org, linuxppc-dev@lists.ozlabs.org Subject: [PATCH v3 0/4] Add audio support for LPC32XX CPUs Date: Fri, 14 Jun 2024 18:34:48 +0200 Message-Id: <20240614163500.386747-1-piotr.wojtaszczyk@timesys.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240611094810.27475-1-piotr.wojtaszczyk@timesys.com> References: <20240611094810.27475-1-piotr.wojtaszczyk@timesys.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit This pach set is to bring back audio to machines with a LPC32XX CPU. The legacy LPC32XX SoC used to have audio spport in linux 2.6.27. The support was dropped due to lack of interest from mainaeners. Piotr Wojtaszczyk (4): ASoC: dt-bindings: lpc32xx: Add lpc32xx i2s DT binding ARM: dts: lpc32xx: Add missing properties for the i2s interfaces ARM: lpc32xx: Add pl08x virtual dma channels for spi and i2s ASoC: fsl: Add i2s and pcm drivers for LPC32xx CPUs .../bindings/sound/nxp,lpc3220-i2s.yaml | 69 +++ MAINTAINERS | 8 + arch/arm/boot/dts/nxp/lpc/lpc32xx.dtsi | 8 + arch/arm/mach-lpc32xx/phy3250.c | 111 ++++- sound/soc/fsl/Kconfig | 7 + sound/soc/fsl/Makefile | 2 + sound/soc/fsl/lpc3xxx-i2s.c | 393 ++++++++++++++++++ sound/soc/fsl/lpc3xxx-i2s.h | 79 ++++ sound/soc/fsl/lpc3xxx-pcm.c | 74 ++++ 9 files changed, 750 insertions(+), 1 deletion(-) create mode 100644 Documentation/devicetree/bindings/sound/nxp,lpc3220-i2s.yaml create mode 100644 sound/soc/fsl/lpc3xxx-i2s.c create mode 100644 sound/soc/fsl/lpc3xxx-i2s.h create mode 100644 sound/soc/fsl/lpc3xxx-pcm.c -- 2.25.1