From patchwork Sun Aug 13 18:05:05 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Biju Das X-Patchwork-Id: 13352190 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 D07D8C001E0 for ; Sun, 13 Aug 2023 18:05:25 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229703AbjHMSFV (ORCPT ); Sun, 13 Aug 2023 14:05:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51838 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229682AbjHMSFV (ORCPT ); Sun, 13 Aug 2023 14:05:21 -0400 Received: from relmlie5.idc.renesas.com (relmlor1.renesas.com [210.160.252.171]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id CE6861707 for ; Sun, 13 Aug 2023 11:05:21 -0700 (PDT) X-IronPort-AV: E=Sophos;i="6.01,170,1684767600"; d="scan'208";a="172836546" Received: from unknown (HELO relmlir6.idc.renesas.com) ([10.200.68.152]) by relmlie5.idc.renesas.com with ESMTP; 14 Aug 2023 03:05:20 +0900 Received: from localhost.localdomain (unknown [10.226.92.13]) by relmlir6.idc.renesas.com (Postfix) with ESMTP id 0F564405D103; Mon, 14 Aug 2023 03:05:14 +0900 (JST) From: Biju Das To: Andrzej Hajda , Neil Armstrong , Robert Foss , David Airlie , Daniel Vetter Cc: Biju Das , Laurent Pinchart , Jonas Karlman , Jernej Skrabec , Abhinav Kumar , =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= , Andy Shevchenko , Javier Martinez Canillas , Ahmad Fatoum , Rob Herring , Bogdan Togorean , Adam Ford , dri-devel@lists.freedesktop.org, Geert Uytterhoeven , linux-renesas-soc@vger.kernel.org Subject: [PATCH 0/7] ADV7511 driver enhancements Date: Sun, 13 Aug 2023 19:05:05 +0100 Message-Id: <20230813180512.307418-1-biju.das.jz@bp.renesas.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-renesas-soc@vger.kernel.org This patch series aims to improve ADV7511 driver by adding feature bits and data instead of comparing enum adv7511_type for various hardware differences between ADV7511, ADV7533 and ADV7535. This patch series tested with[1] on RZ/G2L SMARC EVK which embeds ADV7535. [1] https://patchwork.kernel.org/project/linux-renesas-soc/list/?series=762260 Biju Das (7): drm: adv7511: Add struct adv7511_chip_info and use i2c_get_match_data() drm: adv7511: Add max_mode_clock variable to struct adv7511_chip_info drm: adv7511: Add max_lane_freq variable to struct adv7511_chip_info drm: adv7511: Add supply_names and num_supplies variables to struct adv7511_chip_info drm: adv7511: Add has_dsi feature bit to struct adv7511_chip_info drm: adv7511: Add link_config feature bit to struct adv7511_chip_info drm: adv7511: Add hpd_override_enable feature bit to struct adv7511_chip_info drivers/gpu/drm/bridge/adv7511/adv7511.h | 19 ++-- drivers/gpu/drm/bridge/adv7511/adv7511_drv.c | 98 +++++++++++--------- drivers/gpu/drm/bridge/adv7511/adv7533.c | 7 +- 3 files changed, 69 insertions(+), 55 deletions(-) Tested-by: Fabio Estevam