From patchwork Tue Oct 15 08:28:10 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 176375 Delivered-To: patch@linaro.org Received: by 2002:a92:7e96:0:0:0:0:0 with SMTP id q22csp5584225ill; Tue, 15 Oct 2019 01:28:22 -0700 (PDT) X-Google-Smtp-Source: APXvYqyPeJbzPq5xfG95gU7CzZ0CP3KqhAq10WvlJxfb0Telxn57GsOCq3bqxdrL4syIY57Lr4EG X-Received: by 2002:a17:906:2ada:: with SMTP id m26mr32648530eje.87.1571128102206; Tue, 15 Oct 2019 01:28:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571128102; cv=none; d=google.com; s=arc-20160816; b=whACkFmGiycVCvbFYwrnDOaDm81imbQXENVyOMPFTzVAtPzrfnpJIDR4ZfWuQyUEdn MMZYRyvt09EUS8Xhsc7z2mivTkF5P5MGnQCbtxlx/q+b0pbuOn16mEZopiTy6hD/7mW/ iHLo8MI5yvzMl5OhnR5IiJWsG2Nl5Z3tzooFFVqGQf3BtQCKlg22ieSafzezWA+Jn2Lr +nXYC46MRErwqH8gDY44E3uoT/5UfAZNXv9MS+wN1um+EfW6DRB0ToGMIDBox+CwsjSr h7ENa9ARf3XYjqpcVlZ7e0EDvKiULwDeWepNqxKIvDd0eS6ar5z6VtCSFIJwUF4mcmhe kOiQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=ojxDAKRAwmMHLlwEWcHkwv5aBgxTmWdQ8UAjvDvF2+E=; b=RlI1y71x/onsoTAwYE8MpeBN2CfZndRSE9hR5ElN2SKliO/RTR34OwsVHgC166f+kz xbdH/n1v8ZRmLCE2zfVuA3UTddPL7byoSVJ689y44p2PIz3MmQJwJDEhI/dKDf0rXfsf Am/O2IPUt8WDvmbvcA2b7NMQLdx1AGUx2qCuabbbvlA2B6K5DWkI7wFj6LOxMM212bdC 92wlZGxwrsyhCFIYBYVs7CaryTHqjDoEKqcd9Py7z+hokMyUVD3GhPsFkF02jp/wK7tR azRXBi1gEbJiydVHiwzejk8GYmjVXVHhl2cZvNKKMFzQDE/LcNm9hwbiIwYrm6roADs5 9uJA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Gucr4GXf; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h17si12332476ejt.173.2019.10.15.01.28.22; Tue, 15 Oct 2019 01:28:22 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Gucr4GXf; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726632AbfJOI2V (ORCPT + 8 others); Tue, 15 Oct 2019 04:28:21 -0400 Received: from mail-lj1-f193.google.com ([209.85.208.193]:37580 "EHLO mail-lj1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726142AbfJOI2V (ORCPT ); Tue, 15 Oct 2019 04:28:21 -0400 Received: by mail-lj1-f193.google.com with SMTP id l21so19317804lje.4 for ; Tue, 15 Oct 2019 01:28:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=ojxDAKRAwmMHLlwEWcHkwv5aBgxTmWdQ8UAjvDvF2+E=; b=Gucr4GXfE5GksBaj71VaqL02FNvfq8GV9MZqWq1LQ+47lkJrmOaL9yIlB2gNTmg/RH A9BcR/eSA7g95P/LmFhnWRVK0e0CiAsXdusG1bjZRPq/znw4CLeCLe/PUXfSx2QtK8/7 hf7C2ukdXYrVbb1DCwDtUWximRzWiTuepJ9hwLfHTe44cZ8Bqt/IJgzMZVSdQbgew3mE xp++urW+WtYSWs21i1X8H135FP9ueyv9ftdj1hJPXzE5CFI8TzjPKlR8PZG2TK4w/fLA 7WBQGSPDqoKuFTgFOlbpA3JiRi6Dqo0FEvh9VSZAdM3QOdBD0Rox9RZRLJuBeqrFuBNb 27ew== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=ojxDAKRAwmMHLlwEWcHkwv5aBgxTmWdQ8UAjvDvF2+E=; b=VI1GutnL1WCXXwu2G+LANCYngGAXQmwo2UEdDiFC+fZltJsQ/rk3qgNk0nBoQRTPFr XpOPcI4lyj1xAChvQkstdwS3CJRFdv0qhU19fbpM/r2CpQAu5DI9TKWuV3SlxA3997dO 7aFZmUh4nJbWywP3wmlqScdXrvnguUO9+vEr88vZ/huyL6a+u83zVmn6ni2arvt7QsPI ESDw8/nMCQvo/TU4G2QJ3qv9l7B2inCGNtPE8uWFbUAIb4BoH2jveZxanWljpafcruNh IcuCCs/ZtnLTVG5yQhCVaLY5AQdIaxoM+o4fqvEUwMY0mFyxYDOnZhVzQV30otYy/kw3 wneA== X-Gm-Message-State: APjAAAUakAGSgNophYIKBxj17ZDSoHwfN1xqEv45FVqXYJERrIo/8iSW ii7fAAHG99Mi8X16v02tdPhgHg== X-Received: by 2002:a2e:81cf:: with SMTP id s15mr1954918ljg.99.1571128098821; Tue, 15 Oct 2019 01:28:18 -0700 (PDT) Received: from genomnajs.ideon.se ([85.235.10.227]) by smtp.gmail.com with ESMTPSA id y3sm4795141lji.53.2019.10.15.01.28.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 15 Oct 2019 01:28:17 -0700 (PDT) From: Linus Walleij To: Thierry Reding , Sam Ravnborg , dri-devel@lists.freedesktop.org Cc: Linus Walleij , devicetree@vger.kernel.org Subject: [PATCH 2/3 v2] drm/panel: Add DT bindings for Sony ACX424AKP Date: Tue, 15 Oct 2019 10:28:10 +0200 Message-Id: <20191015082811.29497-2-linus.walleij@linaro.org> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20191015082811.29497-1-linus.walleij@linaro.org> References: <20191015082811.29497-1-linus.walleij@linaro.org> MIME-Version: 1.0 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org This adds device tree bindings for the Sony ACX424AKP panel. Let's use YAML. Cc: devicetree@vger.kernel.org Signed-off-by: Linus Walleij --- ChangeLog v1->v2: - Suggest a stand-alone YAML bindings file for DSI panels in a separate patch, and use that to reference the boolean "enforce-video-mode" attribute for DSI panels --- .../display/panel/sony,acx424akp.yaml | 50 +++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 Documentation/devicetree/bindings/display/panel/sony,acx424akp.yaml -- 2.21.0 diff --git a/Documentation/devicetree/bindings/display/panel/sony,acx424akp.yaml b/Documentation/devicetree/bindings/display/panel/sony,acx424akp.yaml new file mode 100644 index 000000000000..844665b0c953 --- /dev/null +++ b/Documentation/devicetree/bindings/display/panel/sony,acx424akp.yaml @@ -0,0 +1,50 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/display/panel/sony,acx424akp.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Sony ACX424AKP 4" 480x864 AMOLED panel + +maintainers: + - Linus Walleij + +allOf: + - $ref: panel-common.yaml# + - $ref: panel-dsi-common.yaml# + +properties: + compatible: + const: sony,acx424akp + reg: true + port: true + reset-gpios: true + vddi-supply: + description: regulator that supplies the vddi voltage + enforce-video-mode: true + +required: + - compatible + - reg + - port + - reset-gpios + - power-supply + +additionalProperties: false + +examples: + - | + panel@0 { + compatible = "sony,acx424akp"; + reg = <0>; + vddi-supply = <&foo>; + reset-gpios = <&foo_gpio 0 GPIO_ACTIVE_LOW>; + + port { + panel_in: endpoint { + remote-endpoint = <&dsi_out>; + }; + }; + }; + +... \ No newline at end of file