From patchwork Thu Dec 1 16:02:42 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Otto_Pfl=C3=BCger?= X-Patchwork-Id: 629969 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2D600C43217 for ; Thu, 1 Dec 2022 16:03:58 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231414AbiLAQD4 (ORCPT ); Thu, 1 Dec 2022 11:03:56 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50704 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230132AbiLAQDy (ORCPT ); Thu, 1 Dec 2022 11:03:54 -0500 Received: from srv01.abscue.de (abscue.de [89.58.28.240]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 32255B393D; Thu, 1 Dec 2022 08:03:53 -0800 (PST) Received: from srv01.abscue.de (localhost [127.0.0.1]) by spamfilter.srv.local (Postfix) with ESMTP id 4D22D1C0049; Thu, 1 Dec 2022 17:03:51 +0100 (CET) Received: from srv01.abscue.de (abscue.de [89.58.28.240]) by srv01.abscue.de (Postfix) with ESMTPSA id 367D91C0048; Thu, 1 Dec 2022 17:03:51 +0100 (CET) From: =?utf-8?q?Otto_Pfl=C3=BCger?= To: =?utf-8?q?Noralf_Tr=C3=B8nnes?= , Thierry Reding , Sam Ravnborg , David Airlie , Daniel Vetter , Rob Herring , Krzysztof Kozlowski , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: =?utf-8?q?Otto_Pfl=C3=BCger?= Subject: [PATCH v2 0/3] drm/tiny: panel-mipi-dbi: Support separate I/O voltage supply Date: Thu, 1 Dec 2022 17:02:42 +0100 Message-Id: <20221201160245.2093816-1-otto.pflueger@abscue.de> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org As stated in Documentation/devicetree/bindings/display/panel/panel-mipi-dbi-spi.yml, the MIPI DBI specification defines two power supplies, one for powering the panel and one for the I/O voltage. The panel-mipi-dbi driver currently only supports specifying a single "power-supply" in the device tree. Add support for a second power supply defined in a new "io-supply" device tree property to make the driver properly configure the voltage regulators on platforms where separate supplies are used. Changes in v2: - Don't list power-supply in the properties section of panel-mipi-dbi-spi.yaml because it is already in panel-common.yaml Otto Pflüger (3): drm/mipi-dbi: Support separate I/O regulator drm/tiny: panel-mipi-dbi: Read I/O supply from DT dt-bindings: display: panel: mipi-dbi-spi: Add io-supply .../bindings/display/panel/panel-mipi-dbi-spi.yaml | 8 +++++++- drivers/gpu/drm/drm_mipi_dbi.c | 14 ++++++++++++++ drivers/gpu/drm/tiny/panel-mipi-dbi.c | 5 +++++ include/drm/drm_mipi_dbi.h | 7 ++++++- 4 files changed, 32 insertions(+), 2 deletions(-) Reviewed-by: Noralf Trønnes Reviewed-by: Noralf Trønnes