Received: by 2002:ab2:1149:0:b0:1f3:1f8c:d0c6 with SMTP id z9csp1743738lqz; Mon, 1 Apr 2024 16:25:45 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWkRvpzCwZfXPVDUpqYJjsyguAj83awpS8KTbMH/kVcM8n/4Bg+s5/xo1sV6c3HJO704Ag4k6o2JLpASpS1JWB7UlyvTj55D7giFZ3TgQ== X-Google-Smtp-Source: AGHT+IEu4oOpTOHfeOqKOE2fDtH6ml7nPBSKZkC2ZKRp6pgekE9YRd0VptFfOz/iTpqyZmu0qxWT X-Received: by 2002:a05:6870:8903:b0:221:e082:228a with SMTP id i3-20020a056870890300b00221e082228amr12194920oao.57.1712013945236; Mon, 01 Apr 2024 16:25:45 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712013945; cv=pass; d=google.com; s=arc-20160816; b=GaZ0R//ZaArUtnTawhIMy5lBjsZCCO0+PasyhRyChrlaH2mgtA5RbanxFJO9jwOQaY 4pVqp9Ip1t+psxhT6oBzzDh+bHJM3RTq081vED/pLHjsTpb8pAEIx2tkXiplN4V+q0D+ XbXSK7jCQcX+Ji5W3RDQ0eL6HOjSYZPblysFUTfP9EgCXJtB/d4QvjfBZEl+X+i0vtAy QDla6rKtWaXglZkqck4DJHJ6nvDpV5XT5hZmogOPcmFLnFqcHIs749p91JXVmA0NShwQ AYnokITWWsEhE0XSAslW9UOgywn9O5cinFppZhnt3i28j+POot0tokTXESbV8xQlQp1U ziag== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:dkim-signature; bh=RBFnvPatyDI2+u+ojuWnolOosfbwXQU3OHbOSZ7OXrI=; fh=I9TOnM8s+CqsmqiIv+v2RpT73Nurg1X8faY1/KGZt6I=; b=krwrzzGL1c4Q5xab8vY8kxQIP376rWbDuvqBPeiRyEu0AsYjpvYN4i6QrQJwRqpyK9 uORh8/xvPVbmtJ3vPwjnWj+ILNQfg6pbXkMaJLXV+0+ik0l1oZAROlNlTBdrF4Wt3tfK 4IdZvopAfDa42Ta8BmYrwXcz52r9E51FeDlr8l4WFth8to2KigssR1039P6U7u0+qjw0 f7TX2ZOdmWH/FhD325iE7m8Sod3LsMLWg07vttR0mwPOlgI/6Kt+GMH9swv3GnQtpdoR M7mjAO6qKzSaJB06WjeDKTzKFYPZg0Ce4ieCc931Ccxycu/thFrjbj5dN2GWbYEbTbYU AZ4g==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=KY6eRwOS; arc=pass (i=1 spf=pass spfdomain=google.com dkim=pass dkdomain=google.com dmarc=pass fromdomain=google.com); spf=pass (google.com: domain of linux-kernel+bounces-127168-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-127168-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id p18-20020aa79e92000000b006eabf8fca38si9855843pfq.346.2024.04.01.16.25.44 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 01 Apr 2024 16:25:45 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-127168-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=KY6eRwOS; arc=pass (i=1 spf=pass spfdomain=google.com dkim=pass dkdomain=google.com dmarc=pass fromdomain=google.com); spf=pass (google.com: domain of linux-kernel+bounces-127168-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-127168-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.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 sy.mirrors.kernel.org (Postfix) with ESMTPS id E9183B219F0 for ; Mon, 1 Apr 2024 23:25:40 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id DA1F856B9E; Mon, 1 Apr 2024 23:25:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="KY6eRwOS" Received: from mail-qt1-f177.google.com (mail-qt1-f177.google.com [209.85.160.177]) (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 721D456754 for ; Mon, 1 Apr 2024 23:25:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.160.177 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712013931; cv=none; b=XBgtX63GQ16j1vpPZINE6lU+rIFgc6RB2sbUNb+OcIYIX4kR4G6xcE0H+jgGXm4hepb95qrdKXZ0p+SaC7+HX3OUSuHb8INu/p9r99XYCACPUcflCIdhnq3wwyJpJdFYLnh8cErXuFwvunENzfTZ3apHW7U9gS0WxnwI6L8qmrE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712013931; c=relaxed/simple; bh=7O6ujO5rc0L0/KR/mKMdDyxpsqTMox7YCAlN6/iMYXE=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=ptt2ehb5dP5KCCQ45PBLKjUHq1nMhv6Xp8pelsHT3T3uz+couwuGrEruFjRahqR/zElN3ufA3H0G3eHe7fizgGDsTSEJpzBA7TIoiZA427hYKZcqpDs7LeD442EWybYrAym/rpJSeLSNsZTbekv3sv14zUpNvJ6myhj1XwqwPUk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com; spf=pass smtp.mailfrom=google.com; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b=KY6eRwOS; arc=none smtp.client-ip=209.85.160.177 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=google.com Received: by mail-qt1-f177.google.com with SMTP id d75a77b69052e-432d55b0fa9so674321cf.1 for ; Mon, 01 Apr 2024 16:25:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1712013928; x=1712618728; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=RBFnvPatyDI2+u+ojuWnolOosfbwXQU3OHbOSZ7OXrI=; b=KY6eRwOS14eHK97iE2iXuQOKSL0N9OGC4+SfBT8VsYoaGZ2Jj8XZjmEmp23StOk7B+ 2hhN28j6uWwmekxqlyqoYehc5EJwkHPMMm8+xBjyWPVIYVphvvMiZUF84mpDEvOYFcLA JFLdirO+zoJDgPAv9KTg/zhsLzklKjX/BLMc142PXtQQPgb1l52ugOcvLyWpeE+jeFom UgQWRSawKDn7O750Gzetqu2wIr5VTEUT59wvS8gcrQSxuAIdMNqIJyhkoBVokrCo9kzE hJzHpFj5vJ4Y1q4JMa6wHkdBHXilN7xwGqOWU7dh9QG1vLLHJLhgQaSWcninbBu6EeqU ucmQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1712013928; x=1712618728; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=RBFnvPatyDI2+u+ojuWnolOosfbwXQU3OHbOSZ7OXrI=; b=OFx1ogZA9wfQP2DfbpxcR6RjraVblReHFggykJSMhBmWH9oRAs6OK7+pJID9RA5f3Y AcwJRKw1H0Bbj5ahjJF8dl6E/vB18MiWz6dn8VbWqVsKHyQV6gUXradVa1u5UBY/3CfG Ij6kkFJbCa7TTnyeXIYvmnoIvsupKQ7f51bixcnS3vyop1/jpXBW5dH5PtK038PqhqWJ nWlW5jbLPrDMV/tk49nTL9QfdjSJXNGBDaqPmMgbP5hap11ZyGhxLdD2RWGG8PSpOIEq 9YvHox0amJVbScmI25aBu0W9TqJkuyhZcCNzQP1CEVnuh0yrNP8lqHRrG89uWRnGcBBE YRbA== X-Forwarded-Encrypted: i=1; AJvYcCVfXoOFFQiy+Atkt6qihzv1hExaP+YiwU036qsWJ+c6/YA7GHRo6+oqpt0pqAfh8KfcUrtVlU409YSUPh4nwQzR1OgLVKc2ztvXhP02 X-Gm-Message-State: AOJu0Yz2w/gTGv7I8EzMb90Atnviy5hvubT8xQ1GP+NlA2wjIi8kV4Pv QRLk8pTdFTtxhQ2Cz8gCtcLLIuMXcldNERMAU6Os8hVuFw3v80MjopO+NgyMC2i6HxlTXc6DRzC hYv2H1LrYpb2zn9HjCjJbvJeTQblL7gGzjtxU X-Received: by 2002:ac8:7fc2:0:b0:432:fea5:e3b4 with SMTP id b2-20020ac87fc2000000b00432fea5e3b4mr179052qtk.3.1712013928247; Mon, 01 Apr 2024 16:25:28 -0700 (PDT) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: In-Reply-To: From: Saravana Kannan Date: Mon, 1 Apr 2024 16:24:51 -0700 Message-ID: Subject: Re: Fixing the devicetree of Rock 5 Model B (and possibly others) To: Dragan Simic Cc: Pratham Patel , sebastian.reichel@collabora.com, 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 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Sat, Mar 23, 2024 at 10:10=E2=80=AFAM Dragan Simic = wrote: > > Hello Pratham, > > On 2024-03-23 18:02, Pratham Patel wrote: > > 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) work on the Orange Pi 5, which has the Rockchip RK3588S SoC > > (same as the RK3588, 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 > > anything that would point me to the core issue. Then I tried this: > > Could you, please, clarify a bit what's the actual issue you're > experiencing on your Rock 5B? Pratham, can you reply to this please? I don't really understand what your issue is for me to be able to help. Also, can you give the output of /devices_deferred for the good vs bad case? Thanks, Saravana > > > ``` > > $ grep -C 3 remote-endpoint > > arch/arm64/boot/dts/rockchip/rk3588-rock-5b.dts > > > > 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 node 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, _someone_ with a Pine64 Pinebook Pro would've raised alarms. So > > far, this seems to be related to the `rk3588-rock-5b.dts` and possibly > > with the `rk3588s-rock-5a.dts` too. > > > > I would **love** to help but I'm afraid I device-trees are not > > something that I am at-all familiar with. That said, I am open to > > methods of debugging 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 > > [straightforward] way to reply using the 'In-Reply-To' header, hence a > > new thread. Apologies for the inconvenience caused. > > > > -- Pratham Patel > > _______________________________________________ > > Linux-rockchip mailing list > > Linux-rockchip@lists.infradead.org > > http://lists.infradead.org/mailman/listinfo/linux-rockchip