From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pl1-f180.google.com (mail-pl1-f180.google.com [209.85.214.180]) (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 26E763CA493 for ; Tue, 2 Jun 2026 10:16:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.180 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1780395396; cv=none; b=MvBepz+eEOxgLiL/i+XFOayqnl7aUYDC+4mw9aktF+MPtZIPFpSedTDXe6K0a40PFNtzlLDep81ggkTqIUIZFByU03nTgGAOU83TiZakMXTdMo48sNmMjP45NvjnYa0rt3K5cTqzQ9+dL3SNzCgwmwFt5WTUxrGculXLLf3s03A= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1780395396; c=relaxed/simple; bh=38/Zl5XdWU3WE6drEyc9KjDkqO0LDYBqDFG4G2evA7w=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=CzPQq06O/bzN/yzfhh6zZAr4u+oOtzEF1AlydEhlW53SHFYUxVRvwl0RuywNv6CFKG4Y35B4R5WDnHSe3NGo0rh8JpEmSc4+0yz7No3GWKFkr8VWSSjifersFpzkrfeBPCPWvb69fJroJrkAh51INShoNpSdMTziI90pPpkZ0Ys= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=jhni2arO; arc=none smtp.client-ip=209.85.214.180 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="jhni2arO" Received: by mail-pl1-f180.google.com with SMTP id d9443c01a7336-2bf22d29dabso30497645ad.2 for ; Tue, 02 Jun 2026 03:16:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1780395393; x=1781000193; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=4FJlifkRqPEqQqgwEVL3qsdnCft9gZAAhkwAUUbqYm4=; b=jhni2arO+NqIV/BXipl433F7rgNA+dpqyOGW41L9jXjB14DeRFMZ3tpJq6NLKJfXQ3 DzHhIYtNZlWKINZuJ9+/x/xaQuSPkVKOht/JjAAG4q+nV5l/sJChrfgScgiChVho4eAw BDe7ikPBudgqNmWJZ6IL8Lg420Ueq5inE6oti2YSa+C88lKGciJDZBCfK0dmegFGYxeY X5awYn3K34/GxisN6n+dDmNLxpvxbImDb+R3AgcyWp8jzo/bS/yOAZOtMV0PZrPULivD 6zl8ZaYkln/c7s6I9lg8BWrTnXGs8i1JU3g+HpVBhb0xjaIYGvrfldhAgceSjxbwVQN7 G0Qg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1780395393; x=1781000193; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=4FJlifkRqPEqQqgwEVL3qsdnCft9gZAAhkwAUUbqYm4=; b=gtszRb58GU+831ReRGCuLhacVIlDkc6yT5ehpwbTUc48/e+NwgA87tbj+WvM+s2JE0 vxCjtI3QruCmuD4xUV4mV6ohlYrZpHepoKAet0MmRkWfWFduDaKtRABOlEGPrQySayOy q4058mIeP7KuM6+YsKDjuXLte8PL5gTuJEvW9U2e8E/PbB6cDvK7p6C0mMbhnvYDVO3b y7cbe8IRsJ1QsZIS7FgEakmJ02AVxEpQ2tkCmk21fqd6/RLLixSnq87cpOT9pyhg48lM ynV5CjaLvMQoUSjY1ys7F9sJXi1ZqQOmst5xgLcbNNPOU7ZTYZYq0PcHlRb5RTWV2Tuz hq7g== X-Forwarded-Encrypted: i=1; AFNElJ+C8AxU6lLrGX1EgFFVhUL4iMoA7jyesKUpwABkjMXKhLgg3G9FD7BZlqnNDicKPRRXow6jX+vR2yFrjVQ=@vger.kernel.org X-Gm-Message-State: AOJu0YyccS5oRLnAWifv1WboecweecuK5HpwyMXcGOdZoYUcTLTNDONN lDrQWva8TqQ3SksvzH0tY2+aEAnxMGuq6P7WTwml5HzuvV5sMtKn0n8v X-Gm-Gg: Acq92OHww+DoXh8xfH+SJkM4pYspmQEzFmVJC8nuNAatbfTwcF6AP1k43+p4eGHAVng BGt29g1iEcjnbGSjLtNMUuTo7z/Mvwl3EYZd02T+g9pvZ8nFOmdUMxgly3HDL9z0aIRM9HGm+MR Mf3ZndBkf/QYl6oabKRMI+YDx9sg4Elz/DdCHRL8rPkeENI6CeI+jORTBTtzp+71QDndxWAhUiE 9+eBsrkwI35lgLWP534CiNTtwoNIPBBsD+oYBNzZJtZOG++W/HhvsReFamwwARoXGRftd2AZi9p g5dmzfh8he/s+oP1UkIF1XSXRztFTGb7hv3HBCcm+uArNCdtbpE3FLhmw9qTUZPn+hlUMzrJOPI mrK3rxnBMUhYeKqIswZsmuzYes9LDugKNhqZ3dSe46vB89jkE4EpKsl77RqwT8C5t23FMbBFE2i b9RML4yr/rWmCmJzUpBNwHgUqg+0K1T9FjJMnYn/RXEkljV6s644ULyKd0FEBjZKQqvMR3 X-Received: by 2002:a17:902:ef49:b0:2c0:db23:4c9 with SMTP id d9443c01a7336-2c0db23074dmr97094065ad.20.1780395393395; Tue, 02 Jun 2026 03:16:33 -0700 (PDT) Received: from phuc-desktop.. ([183.91.15.56]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-2bf239fd84fsm132766305ad.23.2026.06.02.03.16.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 02 Jun 2026 03:16:32 -0700 (PDT) From: phucduc.bui@gmail.com To: Heiko Stuebner , Mark Brown , Liam Girdwood , Krzysztof Kozlowski Cc: Rob Herring , Conor Dooley , Jaroslav Kysela , Takashi Iwai , devicetree@vger.kernel.org, linux-sound@vger.kernel.org, linux-rockchip@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, bui duc phuc Subject: [PATCH v2 0/5] ASoC: rockchip: Reorder clock enable sequence Date: Tue, 2 Jun 2026 17:16:03 +0700 Message-ID: <20260602101608.45137-1-phucduc.bui@gmail.com> X-Mailer: git-send-email 2.43.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: bui duc phuc Hi all, This series reorders the runtime resume clock enable sequence in the Rockchip SPDIF and PDM drivers to enable the bus clock before the functional controller clock. It also updates the SPDIF DT binding clock descriptions to match the actual clock usage in the driver. Additionally, this v2 adds two new patches addressing issues reported by the Sashiko AI Review tool regarding regcache sync failure handling and runtime PM resume status validation. Testing: - Patch 1: Verified (dt_binding_check passed). - Patches 2 to 5: Compile tested only. Please help test if you have the relevant Rockchip hardware. Changes in v2: - Include two new patches to handle runtime PM resume and regcache sync failures based on Sashiko AI Review. - Update commit message based on Krzysztof's review - Clarify in the commit message that the resume sequence becomes the reverse of the suspend sequence. Best Regards, Phuc bui duc phuc (5): ASoC: dt-bindings: rockchip-spdif: Correct SPDIF clock descriptions ASoC: rockchip: spdif: Reorder clock enable sequence ASoC: rockchip: rockchip_pdm: Reorder clock enable sequence ASoC: rockchip: spdif: Restore regcache cache-only mode on sync failure ASoC: rockchip: rockchip_pdm: Handle runtime PM resume failures in set_fmt .../bindings/sound/rockchip-spdif.yaml | 2 +- sound/soc/rockchip/rockchip_pdm.c | 16 ++++++++++------ sound/soc/rockchip/rockchip_spdif.c | 11 ++++++----- 3 files changed, 17 insertions(+), 12 deletions(-) -- 2.43.0