Received: by 2002:ab2:6857:0:b0:1ef:ffd0:ce49 with SMTP id l23csp1820321lqp; Sat, 23 Mar 2024 10:02:55 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCU3Ek2YZ/FzjqhapVqU22YBycyp4IfTjBBeWQS3NhlXFWsb4vdYLVbWupeuzQbJ9Cd4e2fqAVwWyiiZvUJ2gKnugCjti8wNtN3uFn52CA== X-Google-Smtp-Source: AGHT+IGp5rEi6A4mtzU5pxMfkHQ2WRpagv/v3PVFgmpg8GPx1yW/vmhPyG+o4RyJE456p6VvqXOZ X-Received: by 2002:a05:6214:e87:b0:690:dad3:6f54 with SMTP id hf7-20020a0562140e8700b00690dad36f54mr3348904qvb.64.1711213374890; Sat, 23 Mar 2024 10:02:54 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711213374; cv=pass; d=google.com; s=arc-20160816; b=Y5MGcJ3ccHO8VJIEaFcRHvaaU7zdpOkWRo3gGmnmBvR6uoA2JTfSLAskA2mnFhNAM/ EbRJhG5eUgr0WDbPhLF58m4JpeyYwEcHU5I/G3NpeC1ss96nJYX75sYcUvyZnFzonAvZ Z+GRoqdPTQPSX/Dx/mgaUlEjpE6eSaNl+lp/ywt4SKfD06GL816nhna+wKMB5PbSaNfL ll0DNF36NTH4WY7s8EbLUr8mlHwYvcZ6/CxAPrCZsX6Svs+CGsZUKxS7AS7WS9NJP7z1 i5A7cx2A5D8VhfkL2zNhJ6ndLAMOjn/jjDFVnVQYjg8aAKai2fFl8HFSRNkLjj3rJqrz J2ig== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :feedback-id:message-id:subject:cc:from:to:date:dkim-signature; bh=MOWxTE0LblY9DjHp6xvHXR+dNjwb9gyrT6Bdl3jULYM=; fh=mFvvOELAbIthawNPpzo8SoDQqqvHoAs36slg7Gwwb2E=; b=pLsg1V7J8Pxy2cnxhkl6V3oJuqym4rmJCbNV4lYG0mfGF95v7kHdRr2PC5t3eNCPfx 4wx9ymLtM1c+/86TvbKZOZOjl8fihW8d8ub5mffAihiJphIplKfFDP60Et73oIpOBkR5 aUitFgW4EoVQrIqzKFd0JqyVVwPJxt7dAFuGLg55crZj1ju6FE0fNFBGSxbC8q9CR/wJ /ej+upsy4wdGwyQgtqPyMhoFI0IQwZh7CkymuXXp7Bp7bcH7/CK7WC5Xg/sxEgW6D9Gt 2EyTbnKMLGyYUtfUqo9M8bHqiVR3LSVxr1slxZfPH/WmmBj+bF81f8VibKgbVAJpqtX4 sYvA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@thefossguy.com header.s=protonmail header.b=O1vMnH14; arc=pass (i=1 spf=pass spfdomain=thefossguy.com dkim=pass dkdomain=thefossguy.com dmarc=pass fromdomain=thefossguy.com); spf=pass (google.com: domain of linux-kernel+bounces-112420-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-112420-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=thefossguy.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id 14-20020a0562140cce00b00690b0d90effsi3241138qvx.135.2024.03.23.10.02.54 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 23 Mar 2024 10:02:54 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-112420-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=@thefossguy.com header.s=protonmail header.b=O1vMnH14; arc=pass (i=1 spf=pass spfdomain=thefossguy.com dkim=pass dkdomain=thefossguy.com dmarc=pass fromdomain=thefossguy.com); spf=pass (google.com: domain of linux-kernel+bounces-112420-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-112420-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=thefossguy.com 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 750C11C20CAA for ; Sat, 23 Mar 2024 17:02:54 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1564951C33; Sat, 23 Mar 2024 17:02:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=thefossguy.com header.i=@thefossguy.com header.b="O1vMnH14" Received: from mail-40136.proton.ch (mail-40136.proton.ch [185.70.40.136]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id DBB0545024; Sat, 23 Mar 2024 17:02:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.70.40.136 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711213365; cv=none; b=G8GJHIudWs7qVSA4q35XL8w+qEDg7uhmTT5sSoJY+SZd3828KTsGghOPysksWOQ++eg+3dtuQkwFgFfu1i19EKmpTRMhaaINNKsgHG0neEdkBDy4esQOcS8EkCM4eyYm2LWKam94TcGCQhqXg2/qAlqfBSfs2a11tVWCEV34Be8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711213365; c=relaxed/simple; bh=qvUqg6yRFXdlsTOpAmC16iOEVx9U+T5DcMXxNJwAodo=; h=Date:To:From:Cc:Subject:Message-ID:MIME-Version:Content-Type; b=iN1x8Ot9uHv7Ju3X7W/jw1AyJZLYm44NHtNdEci+749UuV0ZBk8XSWASBtFmrwx9bSZFhi0lPv+PvS3/Tlm1NezGA7zI043OyhdB4Q4QHEb9j7TeA2TK1RjY+JAwj+Fo7uauipMrBlXx/x9MdtetZSrM0Z9kQ6bUP1VUhnMKmFc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=thefossguy.com; spf=pass smtp.mailfrom=thefossguy.com; dkim=pass (2048-bit key) header.d=thefossguy.com header.i=@thefossguy.com header.b=O1vMnH14; arc=none smtp.client-ip=185.70.40.136 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=thefossguy.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=thefossguy.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=thefossguy.com; s=protonmail; t=1711213358; x=1711472558; bh=MOWxTE0LblY9DjHp6xvHXR+dNjwb9gyrT6Bdl3jULYM=; h=Date:To:From:Cc:Subject:Message-ID:Feedback-ID:From:To:Cc:Date: Subject:Reply-To:Feedback-ID:Message-ID:BIMI-Selector; b=O1vMnH14S9ECDduacDf1d5GXHglynF4vpqGjZ4VPv78aikkbNCNtwnYcbxzLxwkTn Ch+L8mISP8PYSya9toKglHel3tOn3RysBd73aKFcWtJDyqblvLdbQwNJ5k3h3EadFn 0krL9oB83e0e76NnACDphttEP5ollFB4KKvspfJgasZ4JLheUcaY2+DDpOn4vNu68N mX/1tFCCGIFJK+RpEJeDb6Kb2c2BFa4QpD0iuv+QZAkF2UmlpWaqMx8XKmrOmd8wAa XBGupi7aO193oWcjMrUyUpLDUbUV6I6L8QSG0Vqzb1eZo6I2HJckRtMVPwaFAwf19V Us4jjW8dG5oyw== Date: Sat, 23 Mar 2024 17:02:19 +0000 To: "sebastian.reichel@collabora.com" , "saravanak@google.com" From: Pratham Patel Cc: "devicetree@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , "linux-rockchip@lists.infradead.org" , "linux-kernel@vger.kernel.org" , "regressions@lists.linux.dev" , "stable@vger.kernel.org" Subject: Fixing the devicetree of Rock 5 Model B (and possibly others) Message-ID: Feedback-ID: 104309535:user:proton Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg=pgp-sha512; boundary="------9fbc6d827d5b25b8ec5d0d21b3f1f4a54ca515d16ca64f730918341a8d911348"; charset=utf-8 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --------9fbc6d827d5b25b8ec5d0d21b3f1f4a54ca515d16ca64f730918341a8d911348 Content-Type: multipart/mixed;boundary=---------------------87a844869beee976bdc9af190bfad2e7 -----------------------87a844869beee976bdc9af190bfad2e7 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain;charset=utf-8 Since the introduction of the `of: property: fw_devlink: Fix stupid bug in= remote-endpoint parsing` patch, an issue with the device-tree of the Rock= 5 Model B has been detected. All the stable kernels (6.7.y and 6.8.y) wor= k on the Orange Pi 5, which has the Rockchip RK3588S SoC (same as the RK35= 88, but less I/O basically). So, being an owner of only two SBCs which use= the RK3588* SoC, it appears that the Rock 5 Model B's DT is incorrect. I looked at the patch and tried several things, neither resulted in anythi= ng that would point me to the core issue. Then I tried this: ``` $ grep -C 3 remote-endpoint arch/arm64/boot/dts/rockchip/rk3588-rock-5b.dt= s port { es8316_p0_0: endpoint { remote-endpoint =3D <&i2s0_8ch_p0_0>; }; }; }; -- i2s0_8ch_p0_0: endpoint { dai-format =3D "i2s"; mclk-fs =3D <256>; remote-endpoint =3D <&es8316_p0_0>; }; }; }; ``` So, from a cursory look, the issue seems to be related to either the DT no= de for the audio codec or related to the es8316's binding itself. Though I= doubt that the later is the issue because if that were the issue, _someon= e_ with a Pine64 Pinebook Pro would've raised alarms. So far, this seems t= o be related to the `rk3588-rock-5b.dts` and possibly with the `rk3588s-ro= ck-5a.dts` too. I would **love** to help but I'm afraid I device-trees are not something t= hat I am at-all familiar with. That said, I am open to methods of debuggin= g this issue to provide a fix myself. I would have replied to the patch's link but unfortunately, I haven't yet = setup neomutt and my email provider's web UI doesn't have a [straightforwa= rd] way to reply using the 'In-Reply-To' header, hence a new thread. Apolo= gies for the inconvenience caused. -- Pratham Patel -----------------------87a844869beee976bdc9af190bfad2e7 Content-Type: application/pgp-keys; filename="publickey - prathampatel@thefossguy.com - 0xF2DDE54D.asc"; name="publickey - prathampatel@thefossguy.com - 0xF2DDE54D.asc" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="publickey - prathampatel@thefossguy.com - 0xF2DDE54D.asc"; name="publickey - prathampatel@thefossguy.com - 0xF2DDE54D.asc" LS0tLS1CRUdJTiBQR1AgUFVCTElDIEtFWSBCTE9DSy0tLS0tCgp4ak1FWmZjR2RSWUpLd1lCQkFI YVJ3OEJBUWRBa2VYM3NrdFI1R0lZQTM5VXhoRTlZcitZMy8zd0ZXUmwKZlZ5T1hsaWdnS2ZOT1hC eVlYUm9ZVzF3WVhSbGJFQjBhR1ZtYjNOelozVjVMbU52YlNBOGNISmhkR2hoCmJYQmhkR1ZzUUhS b1pXWnZjM05uZFhrdVkyOXRQc0tNQkJBV0NnQStCWUpsOXdaMUJBc0pCd2dKa01lcApYbTlkS2Er V0F4VUlDZ1FXQUFJQkFoa0JBcHNEQWg0QkZpRUU4dDNsVFJRTDQ4NE9oNDE3eDZsZWIxMHAKcjVZ QUFDYlFBUDlMc1NwUlQwSTV2TC8ycHpBa2F2UVhLdStWR1BRMk44RUVYZGpSVkRseGl3RUFwMVpS ClB0M2k5RG9qcXg1OE9MQ2R3N2xHMlVwdkJGZ2dCeGVrV216d1dRbk9PQVJsOXdaMUVnb3JCZ0VF QVpkVgpBUVVCQVFkQXJlOWp5aVR3VFBGSjNaazJvTVd0ZDVxSi9zcWNKRUZrckZxNUpVVzRWalVE QVFnSHduZ0UKR0JZS0FDb0ZnbVgzQm5VSmtNZXBYbTlkS2ErV0Fwc01GaUVFOHQzbFRSUUw0ODRP aDQxN3g2bGViMTBwCnI1WUFBRFRGQVA5WUZIL0FxKzVFd3pHQ0xJZWhNNGJsUW5hK2t0cnNPRWlw VllVTVZMd0tjQUQvVktHQwo0eFRtTENUQUNDcFNqRjdVRzBVY2NNOVU0T21ZV2RlVU9HUk1hd1k9 Cj01cTBtCi0tLS0tRU5EIFBHUCBQVUJMSUMgS0VZIEJMT0NLLS0tLS0K -----------------------87a844869beee976bdc9af190bfad2e7-- --------9fbc6d827d5b25b8ec5d0d21b3f1f4a54ca515d16ca64f730918341a8d911348 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: ProtonMail wnUEARYKACcFgmX/CwEJkMepXm9dKa+WFiEE8t3lTRQL484Oh417x6leb10p r5YAAKA/AQCkw7cy5Xleb1CszXzbi/+SMY/azZf3PhmHDQSDAXlD7AD/bGg/ Hgdzv+VyRF3bwym4zEmt0uIwU8vj74qgQCGsaw8= =kvaJ -----END PGP SIGNATURE----- --------9fbc6d827d5b25b8ec5d0d21b3f1f4a54ca515d16ca64f730918341a8d911348--