Received: by 2002:a05:6358:a55:b0:ec:fcf4:3ecf with SMTP id 21csp1748715rwb; Fri, 13 Jan 2023 17:28:39 -0800 (PST) X-Google-Smtp-Source: AMrXdXuNNPhFXNp+zZjuLZWz9PMG5DkwkFjZUNnxrxN3SeKfVa/XMeFKMzhZ6YKUitYJF4uOFK3o X-Received: by 2002:a17:907:180c:b0:7c1:67ca:56f5 with SMTP id lg12-20020a170907180c00b007c167ca56f5mr4972486ejc.15.1673659719283; Fri, 13 Jan 2023 17:28:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673659719; cv=none; d=google.com; s=arc-20160816; b=l3cDybpYJlw6HVhPzOOxeywqvnW8jMN40e1Uwzx/HqKrxvEGT09Cl0Ep1qTDgp985z gC3EHAMCk8wq8+VTRAHn85i68XULn+mnBaMirxtjuM5WToL6P2ClBOLB9/cDyqG9NSZ5 tkxca1rM+CGPMkWhI8gaye4sC9VOPDDOdNdpQfXKASNghxCyWV+P+dbQ6P3sY0In7kBc OtgkOTkwZPsARTVAsi/kKgazvPQ9IQT+Y3ehgk+75dND/O4J1Ts89grX5iqiHeHrtq73 fN+31Ijmn1K5MohUf+qIvrxF7ioIhCzsTVQIoYz6e4SP8DW0H+jEMJ1yBg2W2emj0HaQ hzkg== 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=M97B1poe5E1m8pRKPWmlzH7xdRB/G7s4vd7sxOh8JfU=; b=J5p17owKU5O5qNKWQNhxlIHYwOHwL9xOpN/+jcVx6t5GYUvk9yNjRMxMnvCmzHWydD KrRcEfrrCCWQG1hy1kNksYALY1V10V+RD9MGLwzfts9ybbwnGAYp9GtNDF+Lb/LDZbTf wtkBE+MwmcnhSQA8KeGEUzvivyArjzqxcFjFwCfH2pNYf+ixHmO562axjNahT7A9gV/G p4BFtJe6J74WOFajgjv8y0O+a4IHtO/GUTiBnx6UE04ovCSVIyiPDe4wBNxo9OQo74vE F+ub8xeq5e4TCJ2DCXUWKIzDQ67qpnYKFobNMguCSipix1XmFQfQ3AfBcCZzoDFGa2dZ 8WaA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=iCpVgOW0; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l9-20020a170906794900b0081a9c3ca4c4si24871233ejo.572.2023.01.13.17.28.26; Fri, 13 Jan 2023 17:28:39 -0800 (PST) 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=@gmail.com header.s=20210112 header.b=iCpVgOW0; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230389AbjANBA2 (ORCPT + 53 others); Fri, 13 Jan 2023 20:00:28 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48960 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229641AbjANBA0 (ORCPT ); Fri, 13 Jan 2023 20:00:26 -0500 Received: from mail-il1-x133.google.com (mail-il1-x133.google.com [IPv6:2607:f8b0:4864:20::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 10F8F6084B for ; Fri, 13 Jan 2023 17:00:25 -0800 (PST) Received: by mail-il1-x133.google.com with SMTP id i1so8090829ilu.8 for ; Fri, 13 Jan 2023 17:00:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=M97B1poe5E1m8pRKPWmlzH7xdRB/G7s4vd7sxOh8JfU=; b=iCpVgOW0Qk7d39TEoAOHyhjb8/9UP9uv+s2E0M9CdmFRAT3u+1r+IUvnkCllC2ZGzu ZXg20Jpls8I0DfZGWFIX2pglh4cMNeO/cmpNf8biDpdM30lGwubkmav09F26N6t3bIK5 owfVc6PdFHphzx9l6UpIm3FO/7qCxveL4n5MXxTNW8FnJCu8JWLQQf12ijLb9fjzfeac ymixjL2QcF8AxgbLTuWTwOvBedmkN+hPbK1GZ9QMsEYqgcy58kyYgwtEvjVh0TLwCRI9 tI5CRzvwbYlQ4id7m1Bg4KVjX12zAe58SyUD6l0Zcb21sX0LH1+HTppRxSTgwpLEzhCB TrHg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=M97B1poe5E1m8pRKPWmlzH7xdRB/G7s4vd7sxOh8JfU=; b=w+wDUwasvcGE1dcrhXCbgzrxaR//Rkc+mYZD5YMlmY62a23eLSHx9uLKyAMeCR7miK 2JkBhx2JT3YNqhagBGJ9JBFaISD8eufiIvCbn+UIldjKUHfxhdEo4b9fP+6J0LkeDu4n zgt7/58k0vg3P0ZJAhjBv+7ADP3rbdDhAbuwkXXNL/OLR98LRcJi3tTZaKU4zX1TN4v4 /eVZBY8TFPfhILAdj6ak16Bji1T5iQ2eeNzjoMjSjxCMXs8ZmDISLrADZBRzX8REOZOF Mlo1rjI9h0P2sljVGlVZ22lBgz36B7cE8Ntou7mpp40kG7fs5tfm6DA6aaBtlMgnJUcv mMSA== X-Gm-Message-State: AFqh2kpR1l3T82t1+xVioKLhHEDjmPGvFSCb1Vl+Mf3dYZb4DdS4STj2 pq3SEch8wdIUZN4pfCkfaBIY8FOmAo0= X-Received: by 2002:a92:de0a:0:b0:30c:699e:7f42 with SMTP id x10-20020a92de0a000000b0030c699e7f42mr25924210ilm.9.1673658024476; Fri, 13 Jan 2023 17:00:24 -0800 (PST) Received: from localhost ([2607:fea8:a2df:3d00::6463]) by smtp.gmail.com with ESMTPSA id m9-20020a92cac9000000b003036d1ee5cbsm1787300ilq.41.2023.01.13.17.00.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Jan 2023 17:00:23 -0800 (PST) From: Richard Acayan To: Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Daniel Vetter , Thierry Reding , Sam Ravnborg , Emil Velikov , Vinay Simha BN , dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org Cc: Daniel Mentz , Caleb Connolly , Richard Acayan Subject: [RFC PATCH v2 0/2] drm/dsi-mipi: 16-bit Brightness Endianness Fix Date: Fri, 13 Jan 2023 20:00:04 -0500 Message-Id: <20230114010006.50471-1-mailingradian@gmail.com> X-Mailer: git-send-email 2.39.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS 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 Changes since v1: - move 16-bit brightness handling to new functions and revert API change (1/2) - remove Change-Id in compliance with checkpatch.pl (1/2) - separate panel driver changes (2/2) This series adds proper support for 16-bit MIPI DSI brightness and cleans up existing panel drivers. I cannot test the SOFEF00 change, although I tested an equivalent change to an external S6E3FA7 driver generated with the same generator. Both setting and getting works on S6E3FA7. Daniel Mentz (1): drm/dsi-mipi: Fix byte order of DCS set/get brightness Richard Acayan (1): drm/panel: sofef00: Use 16-bit panel brightness drivers/gpu/drm/drm_mipi_dsi.c | 52 +++++++++++++++++++ drivers/gpu/drm/panel/panel-samsung-sofef00.c | 9 +--- include/drm/drm_mipi_dsi.h | 4 ++ 3 files changed, 58 insertions(+), 7 deletions(-) -- 2.39.0