From patchwork Fri Jan 1 11:45:22 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 355784 Delivered-To: patch@linaro.org Received: by 2002:a02:85a7:0:0:0:0:0 with SMTP id d36csp12845967jai; Fri, 1 Jan 2021 03:45:43 -0800 (PST) X-Google-Smtp-Source: ABdhPJx1EYy6qFgkSrmtK4lc18hu/eu1R67UqIo21YOt5jTf1CgRabzO4q3w70yvP29mPhAhREJc X-Received: by 2002:aa7:95a4:0:b029:19e:abd2:4a88 with SMTP id a4-20020aa795a40000b029019eabd24a88mr50702754pfk.2.1609501543704; Fri, 01 Jan 2021 03:45:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1609501543; cv=none; d=google.com; s=arc-20160816; b=MYOnphe3JkhvcHhpzWdLUrP767fRxQ8gBRGmKwcaSajdndrOCP0KKC0eSuXZ6odoiL j5OMdY2Ej5zI80R1Wlq5xwwHr/EiIT45CpYdpMRSTb3twSEemfsK8MmjHg0IDmlRTOVP PgZMAMVwmPMvM0hAdibGg1zVytMYlA5P/zbZGZTVrDalOetHBmuYOucsG5mZuB/os40T nP8JUuRdTgc7Yc8p8uDlvMtWb91o4poMkDbMwrqscsGoXsBlOoYVy+IqpUvKmJl6JU5b a6hBbhnxtwqmbUVZzJZJB87hboNow7c8fRi+biPngh2TxzKPM46+aX/eyC9T7zdHFs1P J3zg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:cc:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:mime-version:message-id:date:subject:to:from :dkim-signature:delivered-to; bh=IT/PR3JdiXveGptIYfU/rHcqtZzEFHMAruvtcwzd3tE=; b=bqDeTsds7VCLxB9ZkpBL/6kH1lW/aIGe30Fu5Pf7HwvThpecafEUkJig9Emw4eQWKB TJ3yn/4evaW9Xds0dE+Rr3PQW/FW/PYw/u/BrlG30ddl1qnJVdOyaS4g7DQOHdIFqO0f y/MC6vuIWNxyQS+CWK4MSg6yQiJt07LUh+8AeMlm6VR7Ae4Z+qD6wnU6U7sKCnDzj3ef cHsUF2yinf42zKSL2EUmNQeHZrywMFFmcadC32/M8p33jKdx6oy5FkhNfAWytorahBFL bu7XsMgNW6pR4JnXijV1fnuTv8bF/WZJSSS/ATi2dHFd5KcO4VWQNNORUep6SXnzvK6e iX/g== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=EiprgCkN; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from gabe.freedesktop.org (gabe.freedesktop.org. [131.252.210.177]) by mx.google.com with ESMTPS id g24si35863911pgj.322.2021.01.01.03.45.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 Jan 2021 03:45:43 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) client-ip=131.252.210.177; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=EiprgCkN; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 4950289A4F; Fri, 1 Jan 2021 11:45:40 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-lf1-x135.google.com (mail-lf1-x135.google.com [IPv6:2a00:1450:4864:20::135]) by gabe.freedesktop.org (Postfix) with ESMTPS id 4302889A4F for ; Fri, 1 Jan 2021 11:45:39 +0000 (UTC) Received: by mail-lf1-x135.google.com with SMTP id m25so48627772lfc.11 for ; Fri, 01 Jan 2021 03:45:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=X1yeAUk6b8gmMiVEP9IT/lqKGsTIem4bh7tOu2Oot/A=; b=EiprgCkNWoZTNpZ+M6EjNSn+adRKabT0A7ltqt3Y0x3cfsEV7w+/syWJH56UVYDc4+ BGbQ+VeogSA8hr5LmrscLylIsLbrPljYWA63rSKzT84r01DjWCJJ4qF0/tBooyGqAI6d 0vaxla9U3MlzwbvIX61tB7Z/1V16q5XTBE02PVaRXHmH2BJlwG6u1hPAoOiIp9yH1ism DWug6ErN86we9xX0iB1QzvqnrIgGAaFiGdVph9+26KZuX+qM/vDH/W4O0bC1n4C9xhRN OlBs/IYwNV/pH1kxg7YaEyz3QoG9pCCFCoY86unPqHPHH1E22VKG0ga3eOwRg+GVyAmG hmUQ== 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:mime-version :content-transfer-encoding; bh=X1yeAUk6b8gmMiVEP9IT/lqKGsTIem4bh7tOu2Oot/A=; b=iw/vn61qSPHcyt6ESpKfWGR2kbS5Jr9WsIBG1c9sN91k7FLL35apu9f9HIsVu/IQoB ZgagfRwJKcDwxuv2H6HBLzqxoY8r1VSw5lyXCHzMZxBGwDQ4mGcDCP0JQPy1hFKgW4ck fAIJ0AnkOTWkFS+gVi4/2mhQgRs707vzIiawLubBanRpiCdCoqxoTxhl6Es0IvTlbJC6 0m39lIfnFzKzLnd/3QavZADa0Uwy71cnkEb/rdPndQ3jvemrCKkBSc38rZlpGYD9MJQT BegXfF2avrCiUX7MdUFdjNQ5zlJWSD/gFeQ1BynGy7w2kz1Qsb7i5MlnTamsIFXh5TQs G+MA== X-Gm-Message-State: AOAM530E+cajxaYMyfLPKGKpn3ODr3uwPOmOLdzPspPYRdjj5LUAdJZJ EaJpxnE79x1iER2psmzG+CEMIw== X-Received: by 2002:a19:fc1b:: with SMTP id a27mr25204221lfi.349.1609501537546; Fri, 01 Jan 2021 03:45:37 -0800 (PST) Received: from localhost.localdomain (c-92d7225c.014-348-6c756e10.bbcust.telenor.se. [92.34.215.146]) by smtp.gmail.com with ESMTPSA id b22sm6487166lfp.233.2021.01.01.03.45.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 Jan 2021 03:45:36 -0800 (PST) From: Linus Walleij To: Thierry Reding , Sam Ravnborg , dri-devel@lists.freedesktop.org Subject: [PATCH] dt-bindings: display: Augment s6e63m0 bindings Date: Fri, 1 Jan 2021 12:45:22 +0100 Message-Id: <20210101114522.1981838-1-linus.walleij@linaro.org> X-Mailer: git-send-email 2.29.2 MIME-Version: 1.0 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: devicetree@vger.kernel.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" This fixes the following problems with the s6e63m0 display bindings: - When used on the DSI bus, the panel is listed directly as a subnode on the DSI host so the "port" node is not compulsory. Remove "port" from required properties. - The panel contains its own backlight control, so reference the backlight common properties and list default-brightness and max-brightness as supported but optional properties. Cc: devicetree@vger.kernel.org Signed-off-by: Linus Walleij --- .../devicetree/bindings/display/panel/samsung,s6e63m0.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) -- 2.29.2 _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel Reviewed-by: Rob Herring diff --git a/Documentation/devicetree/bindings/display/panel/samsung,s6e63m0.yaml b/Documentation/devicetree/bindings/display/panel/samsung,s6e63m0.yaml index 1dab80ae1d0a..ea58df49263a 100644 --- a/Documentation/devicetree/bindings/display/panel/samsung,s6e63m0.yaml +++ b/Documentation/devicetree/bindings/display/panel/samsung,s6e63m0.yaml @@ -11,6 +11,7 @@ maintainers: allOf: - $ref: panel-common.yaml# + - $ref: /schemas/leds/backlight/common.yaml# properties: compatible: @@ -19,6 +20,8 @@ properties: reg: true reset-gpios: true port: true + default-brightness: true + max-brightness: true vdd3-supply: description: VDD regulator @@ -31,7 +34,6 @@ required: - reset-gpios - vdd3-supply - vci-supply - - port unevaluatedProperties: false