Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp26774958rwd; Mon, 3 Jul 2023 14:58:30 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5Bwdeawv+5z+xO2HG5AYM30B+pAs47+9558QOgsLogyHdrDfdrF3k97ZGj9etPMtm0M6IT X-Received: by 2002:a05:6871:812:b0:1b0:60ff:b74a with SMTP id q18-20020a056871081200b001b060ffb74amr15219275oap.56.1688421510445; Mon, 03 Jul 2023 14:58:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688421510; cv=none; d=google.com; s=arc-20160816; b=aAbqHncQn7beGW0IzBVXHgq+3Cn0ukHKY6cEKoRHyrkZYD3YzjUhzzqngQpekuC7Dr t0BAcBSbs2gLKV0MZoGCpN0SE3w/QmvvmCfm4HWzDkA+ImTiKGGrf2cU5PpFrBm+HjyF YYGMUOo3OEEClUgWPy66pQNxvTyggj4ejjLRLdefQmI/bdzi2ncp8UEuK/VBHYhWBN9G yWORgvg3YjSyOUKyeBziX3EzbhzkP06hTKYTkxjTHmBh5Ajdd4oPV1ip2iRE8E+Suvuf aK4maJwb1I/Ei25Sh3o68P+Nu+ytUZiYPGl+wCHqkLQ9b0bdwqya4YD+UrU/53MOVvnH qjWA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=vwdXKx+U3iVVC3c7K/sn3Jj32FLhI0XzSGIe5REnjno=; fh=ZGUIriixHxc1iGKObIsgEzb0Ckv+dumFOC4kNAscsoI=; b=o2s1S2EdJLWtZNRzfyv1Ilx6pW3cCQiTcxneTRhlGFzjFK/0FEht3gsUkLSFzxr/aj M/RgaHQDbKMSsB1r3WcVR36RO26DhNopJ7IrjSSCuPpKnfKbIlyHrW251Do86/0wo6ma G/dyGZkFjPxqv0jtZiHYU33LpJXhA4UWGVEdBek4SG8pmHZA5rgBBkh//P1oNNO7I1bv 1TuNoe7d68vRHAHfAS2BmFVBWxsFpjNuoToPrmsNqRiL1n89xaFfLC5XKSAe04xyVL3H JRCI1ZlKjJ7FFJDe1LnaEgjHuTcrKV1ZJU11qYAJ//13h1xm+cdl/pv5qyyte0YMrBO9 kTng== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@crapouillou.net header.s=mail header.b="XQ8ve/K5"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=crapouillou.net Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id k7-20020a635607000000b0055a5434684bsi17343849pgb.106.2023.07.03.14.58.18; Mon, 03 Jul 2023 14:58:30 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@crapouillou.net header.s=mail header.b="XQ8ve/K5"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=crapouillou.net Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231235AbjGCVra (ORCPT + 99 others); Mon, 3 Jul 2023 17:47:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56838 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230028AbjGCVr3 (ORCPT ); Mon, 3 Jul 2023 17:47:29 -0400 Received: from aposti.net (aposti.net [89.234.176.197]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 18D5BE76; Mon, 3 Jul 2023 14:47:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=crapouillou.net; s=mail; t=1688420843; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=vwdXKx+U3iVVC3c7K/sn3Jj32FLhI0XzSGIe5REnjno=; b=XQ8ve/K5+LEPdWWGqH7Es/WRYg3CgtONQPWtjiIgc39X0EEeaaKnVfYjZpgQaGDcLjgbuR ebyQrrEc6ZYBkP81N47E0Av1GhhqjwXAWns4fxlVmz+k6cmjJ5OwytOTBGNvTyOfDUgEg/ DjN2VuXN+uZIChZ3zeD1bINYTHLILGc= From: Paul Cercueil To: Krzysztof Kozlowski , Rob Herring , Conor Dooley , Alim Akhtar , Neil Armstrong , Sam Ravnborg Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Paul Cercueil Subject: [PATCH 0/3] Galaxy S2 (i9100) panel updates Date: Mon, 3 Jul 2023 23:47:12 +0200 Message-Id: <20230703214715.623447-1-paul@crapouillou.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam: Yes X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_PASS,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, Here's a small patchset that I created while playing with PostmarketOS on my Samsung Galaxy S2. The first two patches update the LD9040 panel driver so that it looks much better, and supports setting the backlight. The third patch fixes the size of the panel in the Device Tree. The previous values were completely bogus and caused Phosh (PmOS' UI) to display tiny icons and text as it thought the DPI was much lower. Cheers, -Paul Paul Cercueil (3): drm/panel: ld9040: Use better magic values drm/panel: ld9040: Register a backlight device ARM: dts: exynos/i9100: Fix LCD screen's physical size arch/arm/boot/dts/exynos4210-i9100.dts | 4 +- drivers/gpu/drm/panel/panel-samsung-ld9040.c | 51 ++++++++++++++++++-- 2 files changed, 48 insertions(+), 7 deletions(-) -- 2.40.1