From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from honk.sigxcpu.org (honk.sigxcpu.org [24.134.29.49]) (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 25EE61DA4E; Sat, 6 Sep 2025 15:18:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=24.134.29.49 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1757171913; cv=none; b=ZlOWg0qFDJ6tAs5ejjTZ1eK43VtkMQ2LlQ/FN5MCPs5geR3n9dUXdWnEPgD1PTWH0+qdRa6z5aDRpSidqIhstx4kgE6alNiDpepSxS12aKDW9jRne8tZqOtfm/lmOKBtd4lIWVd3loo9J4LlRUHNRP/K7j+7/VbUbcB6arBJ8GU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1757171913; c=relaxed/simple; bh=2NShP4uBgORUvxG5QGzRXtYvh7uD9S9t3XI9Ql28qFY=; h=From:Subject:Date:Message-Id:MIME-Version:Content-Type:To:Cc; b=P0LbC4t4uZiqAmpJePPIM51XcEVYlsLuiF7dB9bRpF8K/6moZBM+pyyZbwxDEl05stasZ6fGkmKs7xGF3v+6iGK6jDf8yFEIPSCTh0tIZ1PFY9GASGMUbCefwRjTWFm36qLQMJaHusUot4HjmHip7ebvDpup0Qey1J32LSrvlkY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=sigxcpu.org; spf=pass smtp.mailfrom=sigxcpu.org; dkim=pass (2048-bit key) header.d=sigxcpu.org header.i=@sigxcpu.org header.b=CF5xJ0q/; dkim=pass (2048-bit key) header.d=sigxcpu.org header.i=@sigxcpu.org header.b=QD0yosu0; arc=none smtp.client-ip=24.134.29.49 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=sigxcpu.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=sigxcpu.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=sigxcpu.org header.i=@sigxcpu.org header.b="CF5xJ0q/"; dkim=pass (2048-bit key) header.d=sigxcpu.org header.i=@sigxcpu.org header.b="QD0yosu0" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=sigxcpu.org; s=2024; t=1757171900; bh=2NShP4uBgORUvxG5QGzRXtYvh7uD9S9t3XI9Ql28qFY=; h=From:Subject:Date:To:Cc:From; b=CF5xJ0q/+izVUqCxlLTHcTqCZ7AeHvbqVsjsn/vl83PxS0BzIW0Cqr+Nr+Y1pTtpu /StldoKefd6K5u5TBRBQm9MYxYgrnKQiYydhRjq90ivMq8T03vt3UoBhiqXuUhclNU /QPJNZlFkv6RRMOytkJXHoF1DUuBUo/kDt6F+WeFCJYsPezEWeDWo3KCrZcYlwC1Qu gSoezUSPtggkOZfmC1BWmit8xrqrS6A/P/YQjo8x3z6AlvGcO4dzXO8N/SJMuwc4sp flMyMT6e0c4IOv3C/woJYxCxfpsFaA7a7YA7YMYPDIXiDvfvQFFf2zWfBV564elF/S FQCrjsQkz7MFw== Received: from localhost (localhost [127.0.0.1]) by honk.sigxcpu.org (Postfix) with ESMTP id 51829FB06; Sat, 6 Sep 2025 17:18:20 +0200 (CEST) Received: from honk.sigxcpu.org ([127.0.0.1]) by localhost (honk.sigxcpu.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id gPxJSbNr_dvx; Sat, 6 Sep 2025 17:18:18 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=sigxcpu.org; s=2024; t=1757171898; bh=2NShP4uBgORUvxG5QGzRXtYvh7uD9S9t3XI9Ql28qFY=; h=From:Subject:Date:To:Cc:From; b=QD0yosu00PNYZvsHsE/30TcpMQSULUlY/oHTAE+BZqipSUW104KA6eZphc96kQgqs NiRoexNqYz2RFt9oP1up0HwHw71KDySt5Rc2rGBhX/flB8L6W0nmlRhjhJOEHJ1lUe f1QIH/3KU2Rvoa74sRsDjQ5eksqhTRuMB/1bL4AhX+8W9NAV4nluyqr93RlMEYsZNz NkbVgzT8iIBPNmw0JZlVDVBO/fXQCR7zFKs9UEIdO1VFmjHX4txX1AlxxGIxd7hT9X P19u1RsOWMOlYp+7ppYkXtocghr/zojnIjJ62XZfcbVdW5ShAL7QIE1QOiPAgwvUbD UNneVEosH4Kqw== From: =?utf-8?q?Guido_G=C3=BCnther?= Subject: [PATCH v2 0/3] drm/panel: visionox-rm69299: Add backlight support and small fixes Date: Sat, 06 Sep 2025 17:17:24 +0200 Message-Id: <20250906-shift6mq-panel-v2-0-aa5e585d8717@sigxcpu.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-B4-Tracking: v=1; b=H4sIAIRQvGgC/3XMQQ7CIBCF4as0sxZDkap05T1MF9AOdBIFhNrUN L272L3L/yXvWyFjIszQVisknClT8CXEoYJ+1N4ho6E0CC4arnjN8kh2Oj9fLGqPD6YaZU78esF +EFBOMaGlZQfvXemR8hTSZ/fn+rf+peaacSalNFIbYzXqWya39PF9DMlBt23bF11O45WuAAAA X-Change-ID: 20250901-shift6mq-panel-959b3087ecd2 To: Neil Armstrong , Jessica Zhang , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Simona Vetter Cc: dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, phone-devel@vger.kernel.org, =?utf-8?q?Guido_G=C3=BCnther?= X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=openpgp-sha256; l=1067; i=agx@sigxcpu.org; h=from:subject:message-id; bh=2NShP4uBgORUvxG5QGzRXtYvh7uD9S9t3XI9Ql28qFY=; b=LS0tLS1CRUdJTiBQR1AgTUVTU0FHRS0tLS0tCgpvd0VCYlFLUy9aQU5B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Sd3RrWGFRTlN oTzZ6VGFMOURGVWVkK0Urd1VMMDE0dk5QU3ltWDgyCkg2QzE5Zz09Cj1GaWsyCi0tLS0tRU5EIF BHUCBNRVNTQUdFLS0tLS0K X-Developer-Key: i=agx@sigxcpu.org; a=openpgp; fpr=0DB3932762F78E592F6522AFBB5A2C77584122D3 This adds optional backlight support via DSI commands. If a max_brightness is set in the panel description the backlight is created. While at that we fold in the already sent out clock fix and a fix that prevents us from clearing all mode flags when we only want HS mode. Signed-off-by: Guido Günther --- Changes in v2: - Add Fixes: to the first two commits to make backports simpler - Collect Reviewed-by:, thanks Neil! - Link to v1: https://lore.kernel.org/r/20250901-shift6mq-panel-v1-0-444b4abbfaea@sigxcpu.org --- Guido Günther (3): drm/panel: visionox-rm69299: Fix clock frequency for SHIFT6mq drm/panel: visionox-rm69299: Don't clear all mode flags drm/panel: visionox-rm69299: Add backlight support drivers/gpu/drm/panel/panel-visionox-rm69299.c | 71 +++++++++++++++++++++++++- 1 file changed, 69 insertions(+), 2 deletions(-) --- base-commit: b320789d6883cc00ac78ce83bccbfe7ed58afcf0 change-id: 20250901-shift6mq-panel-959b3087ecd2 Best regards, -- Guido Günther