From patchwork Fri Oct 9 01:03:59 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Chrisanthus, Anitha" X-Patchwork-Id: 11824795 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 6026C6CA for ; Fri, 9 Oct 2020 01:04:28 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 37376206BE for ; Fri, 9 Oct 2020 01:04:28 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 37376206BE Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=intel.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 91ED96EB93; Fri, 9 Oct 2020 01:04:20 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by gabe.freedesktop.org (Postfix) with ESMTPS id 6BB0C89B55 for ; Fri, 9 Oct 2020 01:04:19 +0000 (UTC) IronPort-SDR: 9rigmTvlPLD2o2+34sS5R/0ea7qEJZIPO1zqXXdyec/FS8V7s2/BMQNu9SFmdgbICx3cgNhWMy 5TbhJ5rzYbFg== X-IronPort-AV: E=McAfee;i="6000,8403,9768"; a="162789783" X-IronPort-AV: E=Sophos;i="5.77,353,1596524400"; d="scan'208";a="162789783" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Oct 2020 18:04:19 -0700 IronPort-SDR: Z8sF9m+muNQsOdXBn/HnDsFk5WO/MNYVr9U9IOieY2+5gzoA4WGGIvxYZUjjd/sFrpYCaFFrMY ojkmVn2EtGlw== X-IronPort-AV: E=Sophos;i="5.77,353,1596524400"; d="scan'208";a="343626279" Received: from mgleaso-mobl.amr.corp.intel.com (HELO achrisan-DESK2.amr.corp.intel.com) ([10.251.146.83]) by fmsmga004-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-SHA; 08 Oct 2020 18:04:19 -0700 From: Anitha Chrisanthus To: dri-devel@lists.freedesktop.org, anitha.chrisanthus@intel.com, devicetree@vger.kernel.org Subject: [PATCH v9 1/5] dt-bindings: display: Add support for Intel KeemBay Display Date: Thu, 8 Oct 2020 18:03:59 -0700 Message-Id: <1602205443-9036-2-git-send-email-anitha.chrisanthus@intel.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1602205443-9036-1-git-send-email-anitha.chrisanthus@intel.com> References: <1602205443-9036-1-git-send-email-anitha.chrisanthus@intel.com> X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: daniel.vetter@intel.com, edmund.j.dea@intel.com, sam@ravnborg.org MIME-Version: 1.0 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" This patch adds bindings for Intel KeemBay Display v2: review changes from Rob Herring Signed-off-by: Anitha Chrisanthus --- .../bindings/display/intel,keembay-display.yaml | 99 ++++++++++++++++++++++ 1 file changed, 99 insertions(+) create mode 100644 Documentation/devicetree/bindings/display/intel,keembay-display.yaml diff --git a/Documentation/devicetree/bindings/display/intel,keembay-display.yaml b/Documentation/devicetree/bindings/display/intel,keembay-display.yaml new file mode 100644 index 0000000..a38493d --- /dev/null +++ b/Documentation/devicetree/bindings/display/intel,keembay-display.yaml @@ -0,0 +1,99 @@ +# SPDX-License-Identifier: GPL-2.0-only +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/display/intel,keembay-display.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Devicetree bindings for Intel Keem Bay display controller + +maintainers: + - Anitha Chrisanthus + - Edmond J Dea + +properties: + compatible: + const: intel,kmb_display + + reg: + items: + - description: Lcd registers range + - description: Mipi registers range + - description: Msscam registers range + + reg-names: + items: + - const: lcd + - const: mipi + - const: msscam + + clocks: + items: + - description: LCD controller clock + - description: Mipi DSI clock + - description: Mipi DSI econfig clock + - description: Mipi DSI config clock + - description: System clock or pll0 clock + + clock-names: + items: + - const: clk_lcd + - const: clk_mipi + - const: clk_mipi_ecfg + - const: clk_mipi_cfg + - const: clk_pll0 + + interrupts: + maxItems: 1 + + encoder-slave: + description: bridge node entry for mipi to hdmi converter + + port: + type: object + description: > + Port node with one endpoint connected to mipi to hdmi converter node. + +required: + - compatible + - reg + - reg-names + - clocks + - clock-names + - interrupts + - encoder-slave + - port + +additionalProperties: false + +examples: + - | + #include + #include + #define MOVISOC_KMB_MSS_AUX_LCD + #define MOVISOC_KMB_MSS_AUX_MIPI_TX0 + #define MOVISOC_KMB_MSS_AUX_MIPI_ECFG + #define MOVISOC_KMB_MSS_AUX_MIPI_CFG + #define MOVISOC_KMB_A53_PLL_0_OUT_0 + display@20900000 { + compatible = "intel,keembay-display"; + reg = <0x20930000 0x3000>, + <0x20900000 0x4000>, + <0x20910000 0x30>; + reg-names = "lcd", "mipi", "msscam"; + interrupts = ; + clocks = <&scmi_clk MOVISOC_KMB_MSS_AUX_LCD>, + <&scmi_clk MOVISOC_KMB_MSS_AUX_MIPI_TX0>, + <&scmi_clk MOVISOC_KMB_MSS_AUX_MIPI_ECFG>, + <&scmi_clk MOVISOC_KMB_MSS_AUX_MIPI_CFG>, + <&scmi_clk MOVISOC_KMB_A53_PLL_0_OUT_0>; + clock-names = "clk_lcd", "clk_mipi", "clk_mipi_ecfg", + "clk_mipi_cfg", "clk_pll0"; + + encoder-slave = <&adv7535>; + + port { + dsi_output: endpoint { + remote-endpoint = <&adv7535_input>; + }; + }; + };