Received: by 2002:a05:7412:31a9:b0:e2:908c:2ebd with SMTP id et41csp3117872rdb; Wed, 13 Sep 2023 02:33:56 -0700 (PDT) X-Google-Smtp-Source: AGHT+IH0XQrXqiZg0OsN1t22FcrCZxlbQjIrvK87ykKltFR1pbJxGSjslqTSLSyGS2s9Y68l938v X-Received: by 2002:a05:620a:22e:b0:767:e714:e9f0 with SMTP id u14-20020a05620a022e00b00767e714e9f0mr1733144qkm.64.1694597636615; Wed, 13 Sep 2023 02:33:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694597636; cv=none; d=google.com; s=arc-20160816; b=hSZcIz2yANnPCsvqyAIw+eo3WM5CVpw3C97JTJvnf7qBBdqiG8r9D87x7dXFvs9EKe yQptjXXLgTdO5s5tGiGbzNW/oCvvAm5deOpb0XM+AoojfzTu3LgtE2GG6wq+sCWuH/oV cb1y27fgEA9n/AMUOw0qrs9zDd6itFhsSVxKOG0XaZSKPSds8JK1VxavvNkI+CSl/zxr ZhbrIFBVKLHuEZ64focdG/YNKw+BoZIR+ohQdDN9tDO60/V9xGpsR3VG7rkTStuQGwGq 8YOnzcBgtlpHo/mMVMYnuf434rrqjOQdt4kuG5TeV1SmuG3NQ5ULF3SXK/5sgHOBTbDT MpSg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id; bh=3fl7Cb/eK2MjJwLEc/eeUM/WNPnjHORKjJEkiYaw22U=; fh=txcBts0jNG4zzaZUspLjxCRDNyvqLScTVhztDvSXu54=; b=sNfchDFdGtxlsUq0hsLR8V30fOrIJzhzTiX+ctka/Lke5A6phk096SSDwaGcv+MKd5 9if4R0FepvAghmENlgF7NKqmnqL3Sjt6QWYm+fsrb6L7saU5zww786aJUgVSgob9dI7D Oe3TDT4OjaIMLdZleSC9TqudAJ+sLyyEOv+l0tY3GkgZybOXxnKdVW8fhHxgJwhtuMPQ Ssd5BgQ+9Qq45ouDXnD0E8HeSnvzgYVvAn8gSuPOBBYZ2M0SEpkuAj5zB5dqyEB2DtSN ya7MwAoz1Ol/PcI1bDHicu/C7eX7RusYnwsYzX8OPhmErS5pK1JPVNejpFnlidyQv9sr /aDA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from groat.vger.email (groat.vger.email. [2620:137:e000::3:5]) by mx.google.com with ESMTPS id cm16-20020a056a00339000b0068fe0f08608si3386476pfb.156.2023.09.13.02.33.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Sep 2023 02:33:56 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) client-ip=2620:137:e000::3:5; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id 3E32A811ED8E; Wed, 13 Sep 2023 02:33:53 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239009AbjIMJdt (ORCPT + 99 others); Wed, 13 Sep 2023 05:33:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46098 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234521AbjIMJds (ORCPT ); Wed, 13 Sep 2023 05:33:48 -0400 Received: from metis.whiteo.stw.pengutronix.de (metis.whiteo.stw.pengutronix.de [IPv6:2a0a:edc0:2:b01:1d::104]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 70E561726 for ; Wed, 13 Sep 2023 02:33:44 -0700 (PDT) Received: from ptz.office.stw.pengutronix.de ([2a0a:edc0:0:900:1d::77] helo=[127.0.0.1]) by metis.whiteo.stw.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1qgMFW-00005k-SA; Wed, 13 Sep 2023 11:33:30 +0200 Message-ID: Date: Wed, 13 Sep 2023 11:33:15 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.15.0 Subject: Re: [PATCH v4 0/3] Support non-default LVDS data mapping for simple panel Content-Language: en-US, de-DE To: David Airlie , Daniel Vetter , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Laurent Pinchart , Thierry Reding , Neil Armstrong , Sam Ravnborg Cc: devicetree@vger.kernel.org, Laurent Pinchart , Dan Carpenter , kernel test robot , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, kernel@pengutronix.de, patchwork-jzi@pengutronix.de References: <20230523-simplepanel_support_nondefault_datamapping-v4-0-e6e7011f34b5@pengutronix.de> From: Johannes Zink In-Reply-To: <20230523-simplepanel_support_nondefault_datamapping-v4-0-e6e7011f34b5@pengutronix.de> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-SA-Exim-Connect-IP: 2a0a:edc0:0:900:1d::77 X-SA-Exim-Mail-From: j.zink@pengutronix.de X-SA-Exim-Scanned: No (on metis.whiteo.stw.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Wed, 13 Sep 2023 02:33:53 -0700 (PDT) X-Spam-Status: No, score=-2.2 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email Hi everyone, gentle ping - is there any feedback you can give me for moving this series forward? Best regards Johannes On 7/28/23 16:16, Johannes Zink wrote: > Some LVDS panels, such as the innolux,g101ice-l01 support multiple LVDS > data mapping modes, which can be configured by strapping a dataformat > pin on the display to a specific voltage. > > This can be particularly useful for using the jeida-18 format, which > requires only 3 instead of 4 LVDS lanes. > > This series moves the data-mapping property for LVDS panels in a > separate file and optionally adds it to simple-panel when matching to > the innolux,g101ice-l01 compatible. This property allows to override > the default data mapping set in the panel description in simple-panel. > > The last patch in this series actually adds the driver support for > parsing the data format override device tree property and modifying the > corresponding values for bit per color and media bus format in the panel > descriptor. > > Best regards > Johannes > > --- > > Changelog: > > v3 -> v4: - driver: worked in Dan's Feedback: > - return with proper error in case the call into > panel_simple_override_nondefault_lvds_datamapping() > failed > - drop the unneeded and ambiguous ret local value > > - Link to v3: https://lore.kernel.org/r/20230523-simplepanel_support_nondefault_datamapping-v3-0-78ede374d3d9@pengutronix.de > v2 -> v3: - dt bindings: Worked in Conor's and Laurent's Feedback > (thanks for your review): Drop the chomping indicator > - dt bindings: Worked in Laurent's Feedback: fix typos > - driver: worked in Laurent's review findings: > - extract function for fixing up the bus format > - only call this function on LVDS panels > - fix typo > - Link to v2: https://lore.kernel.org/r/20230523-simplepanel_support_nondefault_datamapping-v2-0-87196f0d0b64@pengutronix.de > > v1 -> v2: - dt bindings: Worked in Rob's review findings (thanks for your > review), refactored to use common include instead of duplication > - driver: added missing error unwinding goto, as found by Dan > Carpenter's test robot: > Reported-by: kernel test robot > Reported-by: Dan Carpenter > Link: https://lore.kernel.org/r/202304160359.4LHmFOlU-lkp@intel.com/ > > To: David Airlie > To: Daniel Vetter > To: Rob Herring > To: Krzysztof Kozlowski > To: Conor Dooley > To: Laurent Pinchart > To: Thierry Reding > To: Neil Armstrong > To: Sam Ravnborg > Cc: patchwork-jzi@pengutronix.de > Cc: kernel@pengutronix.de > Cc: Laurent Pinchart > Cc: dri-devel@lists.freedesktop.org > Cc: devicetree@vger.kernel.org > Cc: linux-kernel@vger.kernel.org > Signed-off-by: Johannes Zink > > --- > > --- > Johannes Zink (3): > dt-bindings: display: move LVDS data-mapping definition to separate file > dt-bindings: display: simple: support non-default data-mapping > drm/panel-simple: allow LVDS format override > > .../bindings/display/lvds-data-mapping.yaml | 84 ++++++++++++++++++++++ > .../devicetree/bindings/display/lvds.yaml | 77 +++----------------- > .../bindings/display/panel/panel-simple.yaml | 26 ++++++- > drivers/gpu/drm/panel/panel-simple.c | 53 ++++++++++++++ > 4 files changed, 171 insertions(+), 69 deletions(-) > --- > base-commit: 52920704df878050123dfeb469aa6ab8022547c1 > change-id: 20230523-simplepanel_support_nondefault_datamapping-13c3f2ea28f8 > > Best regards, -- Pengutronix e.K. | Johannes Zink | Steuerwalder Str. 21 | https://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686| Fax: +49-5121-206917-5555 |