Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp322538pxu; Thu, 15 Oct 2020 05:03:24 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw7lEPXhkmMqPjKRNFdV56UF7maIf86vZwJl5eigd7gplWi63/NJ/zVyQnHg5GP8idg4arp X-Received: by 2002:a17:906:e08f:: with SMTP id gh15mr3803354ejb.165.1602763403790; Thu, 15 Oct 2020 05:03:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1602763403; cv=none; d=google.com; s=arc-20160816; b=Ve8Md/mRG77ZhPrzz8lokclHR+GjGTy2meXuYTNrVN7TtRbayr7f2qsSiTFUsYK5h3 sL6c4QZpRPn8fHTR/xKVur5YDXpUTUHPQPY5ADG4PKxFD7oPWRZ0oRydNxY29JmdFVGc P9mdKzM7fEUFPK94R3Jz4A911NQ6c0n5bajuC09jseCdLMiidrCtDSi1Kl2nu2PzkvwF +wiU/6/CPEz5Z5Zo655oXwfJXcO4JeJdhaAj2s/tMzb+MiujnsbB9FnLWxpfQlcBPOSe tF4TU/qzzbzbuQLHEHWfAa7a2UfHM0CN7vXDYyMavIvKdtBGSz2+NWFTfmogQe5HG4ZW ahsA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent:references:in-reply-to :date:cc:to:from:subject:message-id; bh=e2OcHsN9ES6PPA3lZxwakFzA4OzuQt32BzEijRE+BpU=; b=nOzqmMnhoa/YHEwMkIiaDcpWWZlD56UDQVp8zi1jVpygdCrIciHxyZ2z7smh4Gf7Mr N0EYA/aqFjd3+Gs9lnHQHUWHRhhEOm6Ezor4c3SKgZy2ohQ4gMg6PP6xgEYGZtC29i7P cLaUvQ/M9Lv1G6FuaNRUuTZDQJ2wZS/tDDHnKFb0IASWeWaAkzssscEMxnQjZEYNORUc 0b+Isgy4bFgKTwxd7Z9uO5t5G7VbtS77pH7VyAFfHnUiUa1O5RQWxLxVhHZJ8h9Be1ix HCGrhRSX8CHHrUciZVmGyNMRx5jFSS6crYKXPlvNUnBvGgKGDMUIWg2wYj/cNfBiI4Tx Ezrw== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id 12si1947636ejy.241.2020.10.15.05.02.50; Thu, 15 Oct 2020 05:03:23 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731137AbgJOKZx (ORCPT + 99 others); Thu, 15 Oct 2020 06:25:53 -0400 Received: from mx2.suse.de ([195.135.220.15]:35470 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726678AbgJOKZw (ORCPT ); Thu, 15 Oct 2020 06:25:52 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id AF2B5AC83; Thu, 15 Oct 2020 10:25:50 +0000 (UTC) Message-ID: Subject: Re: [PATCH 6/7] ARM: dts: Add dts for Raspberry Pi 4 + Cirrus Logic Lochnagar2 From: Nicolas Saenz Julienne To: Richard Fitzgerald , broonie@kernel.org, robh+dt@kernel.org Cc: patches@opensource.cirrus.com, alsa-devel@alsa-project.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rpi-kernel@lists.infradead.org Date: Thu, 15 Oct 2020 12:25:49 +0200 In-Reply-To: <20201014145418.31838-7-rf@opensource.cirrus.com> References: <20201014145418.31838-1-rf@opensource.cirrus.com> <20201014145418.31838-7-rf@opensource.cirrus.com> Content-Type: multipart/signed; micalg="pgp-sha256"; protocol="application/pgp-signature"; boundary="=-rg1Z1psyHTidcmcRlxsR" User-Agent: Evolution 3.36.5 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --=-rg1Z1psyHTidcmcRlxsR Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi Richard, your series is very welcome, upstream support for audio codecs on the RPi4 = has always been lackluster. Could you provide more information on the actual products? Are there custom made hats for the RPi4 or this wired into a generic development board. On Wed, 2020-10-14 at 15:54 +0100, Richard Fitzgerald wrote: > This is based on the default bcm2711-rpi-4-b.dts. Note that you could've included bcm2711-rpi-4.dts (as if it was a .dtsi). > Configurations are provided for Cirrus Logic codecs CS42L92, CS47L15, > CS47L24, CS47L35, CS47L90 and WM8998. >=20 > For each codec there is a sound node and a codec device node and both > default to disabled. Enable the pair for the codec in use. >=20 > Signed-off-by: Richard Fitzgerald > --- Sadly I don't think creating a new device tree is a good solution here. If = we were to do so for every RPi hat/usage it'd become unmanageable very fast. T= here is a way to maintain this in the open nonetheless. I suggest you build a DT overlay and submit it to https://github.com/raspberrypi/linux, see 'arch/arm/boot/dts/overlays.' The Raspberry Pi engineers have a kernel bran= ch that tracks of the latest kernel release, so once you get the rest of patch= es sorted out and they are included in a release it'll make sense to do so. I can't tell for other distros, but opensuse packages overlays, so the effo= rt will ultimately be useful to users. Regards, Nicolas --=-rg1Z1psyHTidcmcRlxsR Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iQEzBAABCAAdFiEErOkkGDHCg2EbPcGjlfZmHno8x/4FAl+II60ACgkQlfZmHno8 x/4U9wgAsWhm4/aDqQO9wUk6ramYK5rUch1Csrbbalv3FNu6rXMMkEmpue5N6A1F 4paxIRqGcyBoG8/h2v0ZwR9vtxQsfVjowhMT8Zg7I18Q5NyY8BLnpcgAVnwHaJPK 8mDXlnNW7z7lDW4iPquUynmKIXWxoEiBVU5jRiZG/z7q7Q6y6sWw0jxA9RDdW6Tb sEqixk28Ood4n0o/F01/o3CLyiw1wc+PR/0F93eDsTrfzRhrqokO/8oAhpS9ka6S 5QdcQfiLNtmgw+pC7of84rmMxQq/cLkzz1hpy0UVUTFwrB1gns3fIPJF8DBYcoP5 xz5IwG+98djRhcojk1ncD+uTqoHi3g== =iBXI -----END PGP SIGNATURE----- --=-rg1Z1psyHTidcmcRlxsR--