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 C2FD3C64EC3 for ; Tue, 31 Jan 2023 09:06:56 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232460AbjAaJGz (ORCPT ); Tue, 31 Jan 2023 04:06:55 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56280 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232330AbjAaJGl (ORCPT ); Tue, 31 Jan 2023 04:06:41 -0500 Received: from smtp-out2.suse.de (smtp-out2.suse.de [195.135.220.29]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7752A4C6D5; Tue, 31 Jan 2023 01:02:40 -0800 (PST) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out2.suse.de (Postfix) with ESMTPS id B03F82046E; Tue, 31 Jan 2023 08:57:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1675155440; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=9lYs5UJZfSHr2t4Wtw9DA3HI1a+TliioCEJTazPDmBI=; b=bA+0TxU5KVGKEiKpY/6B3Q8kqEO5kn64Imfo7/b/JH+XDI+DUVae1YYDb3OAE4JzHs5bRt qZ/ONa+yJUHZawPITmFNLR1Q+aGz0wIuB47xUEDJRIEmDd8rCGZWMs82NIusNslVIlRZ3h 0Lne6cVg6PexXZXMtXvZkmwx/2AgYAs= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1675155440; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=9lYs5UJZfSHr2t4Wtw9DA3HI1a+TliioCEJTazPDmBI=; b=YCZxt1WNOOdG3I3E6EsObVdiRobRZgNHqi4me0W782HBmM9MAnhYEfb8OvgRJfhPeg5hgu DJl1UzE1sx0KHjAQ== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id 722B513585; Tue, 31 Jan 2023 08:57:20 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id H7ruGvDX2GNlJQAAMHmgww (envelope-from ); Tue, 31 Jan 2023 08:57:20 +0000 Message-ID: Date: Tue, 31 Jan 2023 09:57:19 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.6.1 Subject: Re: [PATCH v4 1/2] drm/simpledrm: Allow physical width and height configuration via panel node Content-Language: en-US To: Rayyan Ansari , dri-devel@lists.freedesktop.org Cc: devicetree@vger.kernel.org, linux-fbdev@vger.kernel.org, janne@jannau.net, Krzysztof Kozlowski , Javier Martinez Canillas , linux-kernel@vger.kernel.org, Hans de Goede , Rob Herring , ~postmarketos/upstreaming@lists.sr.ht, asahi@lists.linux.dev References: <20230126182435.70544-1-rayyan@ansari.sh> <20230126182435.70544-2-rayyan@ansari.sh> From: Thomas Zimmermann In-Reply-To: <20230126182435.70544-2-rayyan@ansari.sh> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------VRDBOmJ1uHgwfQWzhxmFFfyZ" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --------------VRDBOmJ1uHgwfQWzhxmFFfyZ Content-Type: multipart/mixed; boundary="------------BhqH5e0Wj40xoBWNu7IsO9dU"; protected-headers="v1" From: Thomas Zimmermann To: Rayyan Ansari , dri-devel@lists.freedesktop.org Cc: devicetree@vger.kernel.org, linux-fbdev@vger.kernel.org, janne@jannau.net, Krzysztof Kozlowski , Javier Martinez Canillas , linux-kernel@vger.kernel.org, Hans de Goede , Rob Herring , ~postmarketos/upstreaming@lists.sr.ht, asahi@lists.linux.dev Message-ID: Subject: Re: [PATCH v4 1/2] drm/simpledrm: Allow physical width and height configuration via panel node References: <20230126182435.70544-1-rayyan@ansari.sh> <20230126182435.70544-2-rayyan@ansari.sh> In-Reply-To: <20230126182435.70544-2-rayyan@ansari.sh> --------------BhqH5e0Wj40xoBWNu7IsO9dU Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: base64 DQoNCkFtIDI2LjAxLjIzIHVtIDE5OjI0IHNjaHJpZWIgUmF5eWFuIEFuc2FyaToNCj4gUGFy c2UgdGhlIHdpZHRoLW1tIGFuZCBoZWlnaHQtbW0gZGV2aWNldHJlZSBwcm9wZXJ0aWVzIG9m IHRoZSBwYW5lbCBub2RlLA0KPiBhbmQgdXNlIHRoaXMgdG8gc2V0IHRoZSBEUk0gRGlzcGxh eSBNb2RlIGluc3RlYWQgb2YgY2FsY3VsYXRpbmcgaXQNCj4gYmFzZWQgb24gYSBoYXJkY29k ZWQgRFBJLg0KPiANCj4gU2lnbmVkLW9mZi1ieTogUmF5eWFuIEFuc2FyaSA8cmF5eWFuQGFu c2FyaS5zaD4NCg0KUmV2aWV3ZWQtYnk6IFRob21hcyBaaW1tZXJtYW5uIDx0emltbWVybWFu bkBzdXNlLmRlPg0KDQo+IC0tLQ0KPiAgIGRyaXZlcnMvZ3B1L2RybS90aW55L3NpbXBsZWRy bS5j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DQo+ICsJCXdpZHRoX21tID0gRFJNX01PREVfUkVTX01NKHdpZHRoLCA5NnVsKTsN Cj4gKwlpZiAoIWhlaWdodF9tbSkNCj4gKwkJaGVpZ2h0X21tID0gRFJNX01PREVfUkVTX01N KGhlaWdodCwgOTZ1bCk7DQo+ICsNCj4gKwlzZGV2LT5tb2RlID0gc2ltcGxlZHJtX21vZGUo d2lkdGgsIGhlaWdodCwgd2lkdGhfbW0sIGhlaWdodF9tbSk7DQo+ICAgCXNkZXYtPmZvcm1h dCA9IGZvcm1hdDsNCj4gICAJc2Rldi0+cGl0Y2ggPSBzdHJpZGU7DQo+ICAgDQoNCi0tIA0K VGhvbWFzIFppbW1lcm1hbm4NCkdyYXBoaWNzIERyaXZlciBEZXZlbG9wZXINClNVU0UgU29m dHdhcmUgU29sdXRpb25zIEdlcm1hbnkgR21iSA0KTWF4ZmVsZHN0ci4gNSwgOTA0MDkgTsO8 cm5iZXJnLCBHZXJtYW55DQooSFJCIDM2ODA5LCBBRyBOw7xybmJlcmcpDQpHZXNjaMOkZnRz ZsO8aHJlcjogSXZvIFRvdGV2DQo= --------------BhqH5e0Wj40xoBWNu7IsO9dU-- --------------VRDBOmJ1uHgwfQWzhxmFFfyZ Content-Type: application/pgp-signature; name="OpenPGP_signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="OpenPGP_signature" -----BEGIN PGP SIGNATURE----- wsF5BAABCAAjFiEExndm/fpuMUdwYFFolh/E3EQov+AFAmPY1+8FAwAAAAAACgkQlh/E3EQov+Ap rBAAnNb0+xGgF6wok0+sXTo9yTCeKShTFhLJ1H3IdFpTlCuyIGLDZJILtQWGjCKGmiEpa2qYtGi6 UB05X+m+A/b9njDjJEMS+dXbqbyZ6c/tb+yLDKQyNFjvDEPVo3YPM4eu8xBWpBFPx5XR/zWTWf3J czs9CjrjdAm4uKMwxq8Vp8mkJ1AJgPil5B0JUEmLDxtyzrZzXye2griD11G9GG7QzOFQnMzU5R+j z2Eh3xsHYtqY573xdra/BTsYiQAUMyn+k0+yd7Pc0t+p3oUdZbpv6FuERJCQGx8OugrmumMut0pQ C0nobpiGh6s6urgsUMlo7eDkpAd3xE0xUr4HBB1/UIGUkxyHB4NSJyNBXSL27cSjsFE94XlDKczh MZCStOZ0CoBkbqxRNRYGenUH5hAbVkA0mWVE8Sr3WJGT/ZeSannsh8LkZDPNwgmOxBE5LgIQhiUa ILPJtUw7pVxFeDYSetjM5/QFi6nov4uXIBhFRXACxM+Pjs4bjYa6uiJFTZXbZWNP4NPM1NZBR2PE UGK7rvSOSneETQGHHKK6puuZV0r9iK81rjAa7VmjH3Eusy9QhmtdKKMKIEwxzKWwrZNAgd0C7Hix kwhvGdglHntlQ0+eskQ+779Q09DTFHgrlo2yq4+D0hVoKR93DXMMaA1orXOrZkOZzb6L7BKEVI1/ SUI= =rZGJ -----END PGP SIGNATURE----- --------------VRDBOmJ1uHgwfQWzhxmFFfyZ--