From patchwork Tue May 16 13:09:11 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paulo Pavacic X-Patchwork-Id: 683655 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 8378FC77B7A for ; Tue, 16 May 2023 13:09:28 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231921AbjEPNJ1 (ORCPT ); Tue, 16 May 2023 09:09:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55524 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232660AbjEPNJ0 (ORCPT ); Tue, 16 May 2023 09:09:26 -0400 Received: from mail-pf1-x434.google.com (mail-pf1-x434.google.com [IPv6:2607:f8b0:4864:20::434]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4700BBD; Tue, 16 May 2023 06:09:23 -0700 (PDT) Received: by mail-pf1-x434.google.com with SMTP id d2e1a72fcca58-64a9335a8e7so5473158b3a.0; Tue, 16 May 2023 06:09:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1684242563; x=1686834563; h=cc:to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=JnI2mCTgjLo9sKDeUzzDpzJIwWSO6LoMJa5F9uksNBE=; b=LSxpzNIphCX4pdKDAYRhRH09p5YyLtm9cdJSaSlo84MLRIqXWrTEFHI1F86TQye0V6 1ts0UmaJhmUZo2SNSqNjxMIDlJ2X48cecPF03fG0SQ0PAcaUAYmq3PLTUBqtZaOgkOTz ot14jzU8Td/a+Mb7GYRqxcgncsVIWmTDRC0XfVsnyG3R8I2SCarQ28hLJUD7oBcuGmXn Y8+YPKd8fEpJ4NoiQL/a0bjNrsf1z+9v9N2LaK9rNIbghD3PhKMV+3KKNkzMaDIjceRb tOp/rF0KRDqyjGion2UzHUvuNJ7gWlsmsyWdAmpahQJ+XjKB/gt9/i15TuOXtA0tNzuV XHwA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684242563; x=1686834563; h=cc:to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=JnI2mCTgjLo9sKDeUzzDpzJIwWSO6LoMJa5F9uksNBE=; b=fDiuJRxgxit5LXU2IBF9bhT1VPF9KS3J+av5lZvCMQ4fkceZcszSjsMvcCp3W6MXxU xbQGWMH/3UC3NPyhVzoZcbSGHkfS/frZ/Sz+ELKxx/DNGOGOJD2pszExxM1Xi42HcUis XuiBv2hxnuHKVK16ozGM1u3zNC2IkryGiDFmMfpoLzaoTZuhaQPpyn0YDc59IMZYFC+S z9G9LY52s6v7LSxAQjGusYTsj5yckwQCY6m2I6HLaB2nYef/sJS58V/XONbkzuR1xGrO Z0eeTzPstVy+gzN5cqnjBggIpcxrt9qKmqAvSz9LdxGs46l5361AKXdpZelnwcEgH7GF kfFQ== X-Gm-Message-State: AC+VfDzjgsvPI6pwuLFvbOfK847sDLivtzq/lnJ/4ZTUeaJZ3zRdVnl1 miFRQpQzeZcWxbhjbSyPkARZdsMgYdvh6mulX/0= X-Google-Smtp-Source: ACHHUZ5+Nhs4AlA41VRX7XHReaGKnGgZl0brEkEPSTE8PDEC4sfbygO22G292BwjZGl/f+FmG+dJAgmuStgvDpfJwKU= X-Received: by 2002:a17:903:1ca:b0:1ad:bccc:af77 with SMTP id e10-20020a17090301ca00b001adbcccaf77mr25885743plh.18.1684242562600; Tue, 16 May 2023 06:09:22 -0700 (PDT) MIME-Version: 1.0 From: =?utf-8?b?UGF1bG8gUGF2YcSNacSH?= Date: Tue, 16 May 2023 15:09:11 +0200 Message-ID: Subject: [PATCH v2] dt-bindings: display: panel: add panel-mipi-dsi-bringup To: krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, neil.armstrong@linaro.org, sam@ravnborg.org, airlied@gmail.com, robh+dt@kernel.org, daniel@ffwll.ch Cc: dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Add dt-bindings documentation for panel-mipi-dsi-bringup which currently supports fannal,c3004 panel. Also added fannal to vendor-prefixes. v2 changelog: - revised driver title, now describes purpose - revised description, now describes hw - revised maintainers, now has only 1 mail - removed diacritics from commit/commit author - properties/compatible is now enum - compatible using only lowercase - revised dts example - modified MAINTAINERS in this commit (instead of driver commit) - dt_bindings_check checked yml - checkpatch warning fixed Signed-off-by: Paulo Pavacic --- .../display/panel/panel-mipi-dsi-bringup.yaml | 54 +++++++++++++++++++ .../devicetree/bindings/vendor-prefixes.yaml | 2 + MAINTAINERS | 6 +++ 3 files changed, 62 insertions(+) create mode 100644 Documentation/devicetree/bindings/display/panel/panel-mipi-dsi-bringup.yaml diff --git a/Documentation/devicetree/bindings/display/panel/panel-mipi-dsi-bringup.yaml b/Documentation/devicetree/bindings/display/panel/panel-mipi-dsi-bringup.yaml new file mode 100644 index 000000000000..c9e2b545657e --- /dev/null +++ b/Documentation/devicetree/bindings/display/panel/panel-mipi-dsi-bringup.yaml @@ -0,0 +1,54 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/display/panel/panel-mipi-dsi-bringup.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: MIPI DSI Bringup Panel Porting Bindings + +description: | + MIPI DSI Bringup Panel porting bindings to be used for a collection of panels + from different manufacturers which don't require backlight control from the + driver and have a single reset pin which is required to be passed as an + argument. + +maintainers: + - Paulo Pavacic + +allOf: + - $ref: panel-common.yaml# + +properties: + + compatible: + enum: + # compatible must be listed in alphabetical order, ordered by compatible. + # The description in the comment is mandatory for each compatible. + + # Fannal 480x800 panel + - fannal,c3004 + + reg: true + reset-gpios: true + +required: + - compatible + - reg + - reset-gpios + +additionalProperties: false + +examples: + - | + #include + //example on IMX8MM where GPIO pin 9 is used as a reset pin + mipi_dsi@32e10000 { + panel@0 { + compatible = "fannal,c3004"; + reg = <0>; + pinctrl-0 = <&pinctrl_mipi_dsi_rst>; + pinctrl-names = "default"; + reset-gpios = <&gpio1 9 GPIO_ACTIVE_LOW>; + }; + }; +... diff --git a/Documentation/devicetree/bindings/vendor-prefixes.yaml b/Documentation/devicetree/bindings/vendor-prefixes.yaml index 82d39ab0231b..f962750f630a 100644 --- a/Documentation/devicetree/bindings/vendor-prefixes.yaml +++ b/Documentation/devicetree/bindings/vendor-prefixes.yaml @@ -462,6 +462,8 @@ patternProperties: description: Facebook "^fairphone,.*": description: Fairphone B.V. + "^fannal,.*": + description: Fannal Electronics Co., Ltd "^faraday,.*": description: Faraday Technology Corporation "^fastrax,.*": diff --git a/MAINTAINERS b/MAINTAINERS index e0ad886d3163..46f988ee60bd 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -6566,6 +6566,12 @@ T: git git://anongit.freedesktop.org/drm/drm-misc F: Documentation/devicetree/bindings/display/panel/panel-mipi-dbi-spi.yaml F: drivers/gpu/drm/tiny/panel-mipi-dbi.c +DRM DRIVER FOR MIPI DSI BRINGUP +M: Paulo Pavacic +S: Maintained +C: mipi-dsi-bringup:matrix.org +F: Documentation/devicetree/bindings/display/panel/panel-mipi-dsi-bringup.yaml + DRM DRIVER FOR MSM ADRENO GPU M: Rob Clark M: Abhinav Kumar