From patchwork Fri Apr 21 15:43:02 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 2855 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-wm1-f70.google.com (mail-wm1-f70.google.com [209.85.128.70]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id CE34E3F07F for ; Fri, 21 Apr 2023 17:43:31 +0200 (CEST) Received: by mail-wm1-f70.google.com with SMTP id 5b1f17b1804b1-3f173bd0fc9sf10970125e9.3 for ; Fri, 21 Apr 2023 08:43:31 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1682091811; cv=pass; d=google.com; s=arc-20160816; b=j7wmuEjan5Aby14NqzrDMRDR58UC+wsMv2jTK+43M8B5oQk+TkQz1O8WfaUkzzs0CS 5TQQMNUH21q06e1VUw9DipsGLDNo1rqGOqYV+amvAcvnFNcWOeqiR7ooPWqJDXpWo/pG Yi1NQhbvabX5K7X5QvqjGCAucyupw2XshFxYN7udgXjX9RGbc3UZfWcR1z4E3nY/FzoR 6ll860KQMIkDsc4TUJCkhx4Dxc45gNSwA52YFzIVuldmZSOMs3aCkkKW02j4UAXAV77p 2a+/LD6VHmhK6I/Uy014hbOZdX0SqQtl+nzZfUzFj0gsjB0J5tDgBdV/BHLrSCP/LnJG p0KQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=YTZWXIk3/3LsZxOvYfDOCJuLRH35BamwpAOUVEFv87U=; b=J7KsCor2kERHn6gf62Tb1t+eY/U6PC+KYn7Bh0GnzElo4XDZIzWwDCiPd3BNthoq8I 2WcS8RQVbeBIoYzbl7waeuGLN2+pI1QHs4JRUjwJO+0VjZNF3KYxzRl2TgjrLkf/7O+Y XuWU2nx2YDUmry+AjfgvxVpR1ggtf3i2RkkQ8o2zlNAHrONRb85f5IlbJQQWVnjZHJFJ JqRQu/HO3orMfGFdoLhj4kOPRzaDpQZ2w3I2/nS+PTt76YeAZDUOWcW1E9fp2EJf/MUD LNjggITRt7bSHYuQ70ejihkXIYZJmhyQ7nnZpYTY/ykeDkAcJ+w/Wc1fIxN0ZIlEmXba QMsw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=qq5fZeLP; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; t=1682091811; x=1684683811; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:x-original-authentication-results :x-original-sender:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=YTZWXIk3/3LsZxOvYfDOCJuLRH35BamwpAOUVEFv87U=; b=pmdqbH8+shJCMPYk8mTNHqzPd3GkoypxABrPi315JQXEGxXNOX35yopRhmgZcmwwGR TZmWSBXjxBz7yhBTfp/j2kh7HUFF+Ku8C8TCWbU/reXTwysdZfPZnMt6BbyYOirRNKxF U4/F6wWCRbxEdU0eUsYE+DvpzkfyC0DN44tg4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1682091811; x=1684683811; h=list-unsubscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence :x-original-authentication-results:x-original-sender:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :x-beenthere:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=YTZWXIk3/3LsZxOvYfDOCJuLRH35BamwpAOUVEFv87U=; b=VJTyYOLWrocL45VVEwZI2i6ky4nFOdeJ4kDCE0/bjifx2NMi3dlTAMp1bzV3tAw8/5 CmJjaHzfVkDpcUmsDM4jAH09pmesEnpXnind6mP2RtdyCMAojdYki+LWObi/6WxJPsGX hL523z2XSwpbwEd2uXFB9RoZtCZFObpE2elH3J6rpAhslC7zKSTb66zT+F2J1Z/4EnQz 2+QjNbiaWC++DJTRubaLiTfSjhBIrjFvtDisXFt0zKyko3LPbGn0VPSNdCwlDI+vUK4E d0s/mB0dU+9MsTMBHi7lED7Es1sAh3APAo14FTpKA3MugkKpZGgI4x7eEgZd39cGTj3u g98g== X-Gm-Message-State: AAQBX9d+w5pUK6yP9eWpMuFZbDJ4dhhKv28jT0VtGvhPyzHnCuTytykv DRf5sEsZ9JfwLcHloGS3LfQm4uyh X-Google-Smtp-Source: AKy350YdeZbtElKY38xJ5KIqbL00ID9Uog1Jqn+btRXtGdoLKQF9RLCL3ZyYciyUC4iHKWj/nNGIKw== X-Received: by 2002:a1c:f715:0:b0:3e2:1a3f:4ea2 with SMTP id v21-20020a1cf715000000b003e21a3f4ea2mr504462wmh.7.1682091811571; Fri, 21 Apr 2023 08:43:31 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a05:600c:5115:b0:3f1:7596:66be with SMTP id o21-20020a05600c511500b003f1759666bels2598681wms.3.-pod-control-gmail; Fri, 21 Apr 2023 08:43:30 -0700 (PDT) X-Received: by 2002:a7b:cc8f:0:b0:3f1:819d:d050 with SMTP id p15-20020a7bcc8f000000b003f1819dd050mr2243685wma.37.1682091809907; Fri, 21 Apr 2023 08:43:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682091809; cv=none; d=google.com; s=arc-20160816; b=FkTQaAPp2/MuFMp9XvAlf/pJWnPq5ISfCx5mkHCGAAjNbK1lH3k24HAkAr0pQ9bnWc 8KZg9wHWlGw5Xn58PD6tDtFURIuPLoHRDHPROByrf369Gm+CdPKMAGaRrSFO4cotLrbn PnLcrDlGZPv0Nx3jiNeArymBvBjY6t83rpfcWYANorN2QCvDJKbo8cOXCeOCkqaHVGOP 2oieCXqqKB+sYK7713qjEezWWf6dLzKmvuWWZNpK13E32qJEZH8Piw7poJjawmf1eMLO ApZjtzEeZKKYkBys1hWrzHwbrX6ayNqv4s9qyecZjRWxo+6KqynaN3sdvCdaHWQrWLad reFg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=bGhninvCfwM3cEyNcZ4WVCLboSbKUZEfNvggheMtKI8=; b=xij488EjR1MNhy/aDwwcictR1bUD7hGDNUesr0afukk5mlhjS3SAyJLEHRyUf19Oa/ 2nzjMCB/awElZwPsMhh3do0ihUqgEeNIYQSKDkD8Dc2QsWeBa4LtoAAwf0NmwvY/Z5jl J2CKe0+bDS9+miITzjFbNHZxFkjU6Tq1QITyzCy9vQqSruQP0/Gs8hJPJnwueyDRjWXJ uBBuaRo4GYv7a4RF+ZinTR2Ne8iLJW1hRqhmUMg5a3xp0exZIlPpsVCEeefMio4X9xjZ 6imKjiJbdBWRaA9TNOoi8xaMxCQvbkfQ++jF4qePjTQ7/HrSLPMHxK6pb85n/3VqkBPD dmlg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=qq5fZeLP; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Received: from mail-sor-f41.google.com (mail-sor-f41.google.com. [209.85.220.41]) by mx.google.com with SMTPS id h15-20020a056000000f00b002f289cecee5sor2124777wrx.57.2023.04.21.08.43.29 for (Google Transport Security); Fri, 21 Apr 2023 08:43:29 -0700 (PDT) Received-SPF: pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) client-ip=209.85.220.41; X-Received: by 2002:a5d:4147:0:b0:301:8080:a8fa with SMTP id c7-20020a5d4147000000b003018080a8famr4768749wrq.27.1682091809492; Fri, 21 Apr 2023 08:43:29 -0700 (PDT) Received: from dario-ThinkPad-T14s-Gen-2i.. ([37.159.127.129]) by smtp.gmail.com with ESMTPSA id g18-20020a5d5552000000b002e51195a3e2sm4651609wrw.79.2023.04.21.08.43.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 21 Apr 2023 08:43:28 -0700 (PDT) From: Dario Binacchi To: linux-kernel@vger.kernel.org Cc: michael@amarulasolutions.com, Amarula patchwork , Dario Binacchi , Daniel Vetter , David Airlie , Krzysztof Kozlowski , Rob Herring , Sam Ravnborg , Thierry Reding , devicetree@vger.kernel.org, dri-devel@lists.freedesktop.org Subject: [PATCH 1/7] dt-bindings: display: panel: Add synaptics r63353 panel controller Date: Fri, 21 Apr 2023 17:43:02 +0200 Message-Id: <20230421154308.527128-2-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20230421154308.527128-1-dario.binacchi@amarulasolutions.com> References: <20230421154308.527128-1-dario.binacchi@amarulasolutions.com> MIME-Version: 1.0 X-Original-Sender: dario.binacchi@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=qq5fZeLP; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list linux-amarula@amarulasolutions.com; contact linux-amarula+owners@amarulasolutions.com List-ID: X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , From: Michael Trimarchi Add documentation for "synaptics,r63353" panel. Signed-off-by: Michael Trimarchi Signed-off-by: Dario Binacchi --- .../display/panel/synaptics,r63353.yaml | 58 +++++++++++++++++++ 1 file changed, 58 insertions(+) create mode 100644 Documentation/devicetree/bindings/display/panel/synaptics,r63353.yaml diff --git a/Documentation/devicetree/bindings/display/panel/synaptics,r63353.yaml b/Documentation/devicetree/bindings/display/panel/synaptics,r63353.yaml new file mode 100644 index 000000000000..13e6ed39e124 --- /dev/null +++ b/Documentation/devicetree/bindings/display/panel/synaptics,r63353.yaml @@ -0,0 +1,58 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/display/panel/synaptics,r63353.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Synaptics R63353 based MIPI-DSI panels + +maintainers: + - Michael Trimarchi + +properties: + compatible: + items: + - enum: + - sharp,ls068b3sx02 + - const: synaptics,r63353 + + avdd-supply: true + dvdd-supply: true + port: true + reg: true + reset-gpios: true + backlight: true + +required: + - compatible + - avdd-supply + - dvdd-supply + - reg + - reset-gpios + +additionalProperties: false + +examples: + - | + #include + + dsi { + #address-cells = <1>; + #size-cells = <0>; + + panel@0 { + compatible = "sharp,ls068b3sx02", "synaptics,r63353"; + reg = <0>; + avdd-supply = <&avdd_display>; + dvdd-supply = <&dvdd_display>; + reset-gpios = <&r_pio 0 5 GPIO_ACTIVE_LOW>; /* PL05 */ + + port { + panel_in: endpoint { + remote-endpoint = <&mipi_dsi_out>; + }; + }; + }; + }; + +... From patchwork Fri Apr 21 15:43:03 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 2856 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-wm1-f72.google.com (mail-wm1-f72.google.com [209.85.128.72]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id D244C3F07F for ; Fri, 21 Apr 2023 17:43:33 +0200 (CEST) Received: by mail-wm1-f72.google.com with SMTP id 5b1f17b1804b1-3f173bd0d1bsf12439445e9.3 for ; Fri, 21 Apr 2023 08:43:33 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1682091813; cv=pass; d=google.com; s=arc-20160816; b=x29EIvQAa3E9s50AnVigiNy37HWZCVoTGtprV+ILNupyopDt1I19gGpliJn7uXoVin qsiNAE6xkgNegMX/5Dd9VdQ5TGX1UAFe3KKNROcFUV+077514FOmrktwdaXghRkZl7FB +7ZyJOH3pnsQNWmtbakbsDOCtGGjsVROW6JLvMi6SLoe2Eom1yTQ21svlR2fmEo3JV8R Nz8B5k3JxPqVXkzM0gKiOKn+P9x+8VTucIRgugkAVImD9K1ptj4dKSN5r3npjJi8Svvs cr4QyBmFh2rsfuqmv6+Z2UloTW2zg8pHrs8NF4x+LLeGwiej00CTHy/oPTrBBYFL4xDy Z0Tw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=RbW4fC4ltUkMYL59wAo5IduMayPiAqf5WbuXcTr/wKo=; b=bWy8DiKmrfwWlnh5NPcJkH8VMPwru4T6cVMVyOU58cy85SB4saK2d0g88Drqacnnuc vVXRsD2sC+4JtSvolM2jWme/3KR0Hxvyt1uSCKOL39EUE2QjBFW1gnYDG4T5MUZIBAwU NY97ULzTyfwIFHxUU6w4HE4wRWAOocwWI3wkIhG+si9Ny+aqMICdmG/J+Z5dZV/30b5P ZAPKQQLEudHP9PFYOQSsHxHQQh4cxJDtArlmujSr4xL3tw6U+1TX73mkp87Bfbd6SvOW tCtj1F3WjOOCKftMnZa0BKPqVXpVaj+sVsRJq0ZrZZ7Q8eENp0+ACCbF0SfodOZXBCdH ZGzw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=XQEqrB7D; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; t=1682091813; x=1684683813; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:x-original-authentication-results :x-original-sender:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=RbW4fC4ltUkMYL59wAo5IduMayPiAqf5WbuXcTr/wKo=; b=LyYo+yeq1R7U0S7Y2gDMGPRXHIIrAPcwd8IPaZhAbrnLxFfl9PVnQk3SfvoROqGEH7 PzWEtJm3hXVRK6Dgf6+eeAfAS8tPNGIdMrgtNZGFQCHOBeiH+7gba9Hjgg6Btq+vDv+4 swCKy2mrRQfGHZbzuu8/sTO84E8JaQSWTT8OE= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1682091813; x=1684683813; h=list-unsubscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence :x-original-authentication-results:x-original-sender:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :x-beenthere:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=RbW4fC4ltUkMYL59wAo5IduMayPiAqf5WbuXcTr/wKo=; b=I3zDuFKPtguwU0IR8vXo2zMPsNU3fVdJ3+YNz9tCIDOS8d94EV6oYNPC/zcHnFulss KXMHza7gbOubbOHAmmC5SKyyEzcWpzLw0cInPXHW7NGZYW+8UKpb9tPIcb5isFjoZibO SN909HxJ6ojmuWHtZC8m5ceGqIBmOStzuS6J7tEDhdjOw+hlGrWiVUCcTYbrhwFxLg2u T6mjWFyTprnbwYilEHCTjpydVJFzv55l90MuicrBr1QCA0+6rDuoAiUlD5Ji+C9GjuqU ErUfgqr8Zo9SZ4UHI9kAn4uHDnf8kgmz1jn8c6rnwp2DJFana4tLy0qfS6wFxfGEQn07 syZg== X-Gm-Message-State: AAQBX9dobkM3CRLwRFoj1FK8QU9Y8gsHqBTsYUOMyEXiT2QaiS7gM32O C/bMg0cQ3rOo+d6QObhXQfOGX7WH X-Google-Smtp-Source: AKy350bU7jh+dviiQsz14pz6LcsH57HLvRK9rLKojDd4qCAa2grgQkxLQAR+YAFzFqo3hRStlQae3A== X-Received: by 2002:a05:600c:ac4:b0:3f1:78d0:fc49 with SMTP id c4-20020a05600c0ac400b003f178d0fc49mr545328wmr.7.1682091813272; Fri, 21 Apr 2023 08:43:33 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a5d:4d8a:0:b0:2f4:1b04:ed8f with SMTP id b10-20020a5d4d8a000000b002f41b04ed8fls7730848wru.1.-pod-prod-gmail; Fri, 21 Apr 2023 08:43:32 -0700 (PDT) X-Received: by 2002:adf:e946:0:b0:2fe:d540:8c8e with SMTP id m6-20020adfe946000000b002fed5408c8emr4163331wrn.19.1682091811630; Fri, 21 Apr 2023 08:43:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682091811; cv=none; d=google.com; s=arc-20160816; b=REc6ID9DwBEPpyiIvgcMfDs1zDHXSbG0/RvKhgSw7MCgcHPDSwKFlmukCGDdHuM6kR hQFJahJI0kynhYLNjFmPmOWwbNfXNMPItsPP427Ct4M0yCFGKCMyOpS9Vff1RLxuiIQL T4rhUn0GKeIGy8YIuVPzHuLetOPQDkGiclrSRBKp45C6ClbUdLeHJBp6BwDOhw7An+ag JIsaf+J09hjuzUtIml51lVjYtZbfcFOgyvg+fezMhBI4+oWLlTQGCTP5zmylHVjUoZrD lL5kyR8yg4hvziSYO6reONpZvjw54aPh+Ij5XhfxY4k5kiWP2xHujJScY+oVCgxf1jAi b5NA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=RGmx6aas+6lrsSGcmDihsoNQav0yXnIFp4ZHfNMih4U=; b=UfhMLc8ha+7dPYfO6XdFRIWM2pZ617N6E95ZkvP9fBXHTmUXhjq6MRm/Pv5ZIEP4V9 f3jrilcU6Sd3xmy1zF5DTgxac2z2yLQNe0CGvg8CawpQHoaSgM3bcbHGOUrFgisWRHUf lm/WnquSrxkHTiBnmoN75RGED6XsSN8GOUApJFYeFZ3QSFnbo3rUlUASgD5kbq627AqV RZiKPvbqutWjXdtmq4gyg6eoAR9QuwMsmsPL6S7ckg41tiF8v8QGoeTUadUUGCC03i/X XCZXk/QIs1f2QZ5qVMqE0eoyjssIaB9/5/oXeY+1nN0joWkEjMN7yHGVBH+JDNND6yCd bzrA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=XQEqrB7D; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Received: from mail-sor-f41.google.com (mail-sor-f41.google.com. [209.85.220.41]) by mx.google.com with SMTPS id b4-20020a5d45c4000000b002f0076e2005sor2035262wrs.99.2023.04.21.08.43.31 for (Google Transport Security); Fri, 21 Apr 2023 08:43:31 -0700 (PDT) Received-SPF: pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) client-ip=209.85.220.41; X-Received: by 2002:a5d:4692:0:b0:2cf:edf0:f8c with SMTP id u18-20020a5d4692000000b002cfedf00f8cmr3821038wrq.29.1682091811269; Fri, 21 Apr 2023 08:43:31 -0700 (PDT) Received: from dario-ThinkPad-T14s-Gen-2i.. ([37.159.127.129]) by smtp.gmail.com with ESMTPSA id g18-20020a5d5552000000b002e51195a3e2sm4651609wrw.79.2023.04.21.08.43.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 21 Apr 2023 08:43:30 -0700 (PDT) From: Dario Binacchi To: linux-kernel@vger.kernel.org Cc: michael@amarulasolutions.com, Amarula patchwork , Dario Binacchi , Daniel Vetter , David Airlie , Sam Ravnborg , Thierry Reding , dri-devel@lists.freedesktop.org Subject: [PATCH 2/7] drm/panel: Add Synaptics R63353 panel driver Date: Fri, 21 Apr 2023 17:43:03 +0200 Message-Id: <20230421154308.527128-3-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20230421154308.527128-1-dario.binacchi@amarulasolutions.com> References: <20230421154308.527128-1-dario.binacchi@amarulasolutions.com> MIME-Version: 1.0 X-Original-Sender: dario.binacchi@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=XQEqrB7D; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list linux-amarula@amarulasolutions.com; contact linux-amarula+owners@amarulasolutions.com List-ID: X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , From: Michael Trimarchi The LS068B3SX02 panel is based on the Synaptics R63353 Controller. Add a driver for it. Signed-off-by: Michael Trimarchi Signed-off-by: Dario Binacchi --- MAINTAINERS | 6 + drivers/gpu/drm/panel/Kconfig | 8 + drivers/gpu/drm/panel/Makefile | 1 + .../gpu/drm/panel/panel-synaptics-r63353.c | 376 ++++++++++++++++++ 4 files changed, 391 insertions(+) create mode 100644 drivers/gpu/drm/panel/panel-synaptics-r63353.c diff --git a/MAINTAINERS b/MAINTAINERS index 3d2fbd0e261d..cfe4f5013632 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -6682,6 +6682,12 @@ T: git git://anongit.freedesktop.org/drm/drm-misc F: Documentation/devicetree/bindings/display/ste,mcde.yaml F: drivers/gpu/drm/mcde/ +DRM DRIVER FOR SYNAPTICS R63353 PANELS +M: Michael Trimarchi +S: Maintained +F: Documentation/devicetree/bindings/display/panel/synaptics,r63353.yaml +F: drivers/gpu/drm/panel/panel-synaptics-r63353.c + DRM DRIVER FOR TI DLPC3433 MIPI DSI TO DMD BRIDGE M: Jagan Teki S: Maintained diff --git a/drivers/gpu/drm/panel/Kconfig b/drivers/gpu/drm/panel/Kconfig index 8eeee71c0000..e6c4ec4f0cab 100644 --- a/drivers/gpu/drm/panel/Kconfig +++ b/drivers/gpu/drm/panel/Kconfig @@ -677,6 +677,14 @@ config DRM_PANEL_SITRONIX_ST7789V Say Y here if you want to enable support for the Sitronix ST7789V controller for 240x320 LCD panels +config DRM_PANEL_SYNAPTICS_R63353 + tristate "Synaptics R63353-based panels" + depends on OF + depends on DRM_MIPI_DSI + help + Say Y if you want to enable support for panels based on the + Synaptics R63353 controller. + config DRM_PANEL_SONY_ACX565AKM tristate "Sony ACX565AKM panel" depends on GPIOLIB && OF && SPI diff --git a/drivers/gpu/drm/panel/Makefile b/drivers/gpu/drm/panel/Makefile index c05aa9e23907..dea6177e3d95 100644 --- a/drivers/gpu/drm/panel/Makefile +++ b/drivers/gpu/drm/panel/Makefile @@ -68,6 +68,7 @@ obj-$(CONFIG_DRM_PANEL_SHARP_LS060T1SX01) += panel-sharp-ls060t1sx01.o obj-$(CONFIG_DRM_PANEL_SITRONIX_ST7701) += panel-sitronix-st7701.o obj-$(CONFIG_DRM_PANEL_SITRONIX_ST7703) += panel-sitronix-st7703.o obj-$(CONFIG_DRM_PANEL_SITRONIX_ST7789V) += panel-sitronix-st7789v.o +obj-$(CONFIG_DRM_PANEL_SYNAPTICS_R63353) += panel-synaptics-r63353.o obj-$(CONFIG_DRM_PANEL_SONY_ACX565AKM) += panel-sony-acx565akm.o obj-$(CONFIG_DRM_PANEL_SONY_TULIP_TRULY_NT35521) += panel-sony-tulip-truly-nt35521.o obj-$(CONFIG_DRM_PANEL_TDO_TL070WSH30) += panel-tdo-tl070wsh30.o diff --git a/drivers/gpu/drm/panel/panel-synaptics-r63353.c b/drivers/gpu/drm/panel/panel-synaptics-r63353.c new file mode 100644 index 000000000000..a288ba3e211f --- /dev/null +++ b/drivers/gpu/drm/panel/panel-synaptics-r63353.c @@ -0,0 +1,376 @@ +// SPDX-License-Identifier: GPL-2.0 +/* + * Synaptics R63353 Controller driver + * + * Copyright (C) 2020 BSH Hausgerate GmbH + */ + +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#include +#include + +#include +#include +#include + +#include