From patchwork Sat Mar 14 15:30:45 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sam Ravnborg X-Patchwork-Id: 1254949 Return-Path: X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (no SPF record) smtp.mailfrom=vger.kernel.org (client-ip=209.132.180.67; helo=vger.kernel.org; envelope-from=devicetree-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=ravnborg.org Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=mWIjeJP0; dkim-atps=neutral Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 48g2lZ1yTGz9sNg for ; Sun, 15 Mar 2020 13:03:22 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727580AbgCOCDV (ORCPT ); Sat, 14 Mar 2020 22:03:21 -0400 Received: from mail-ed1-f65.google.com ([209.85.208.65]:44475 "EHLO mail-ed1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727351AbgCOCDV (ORCPT ); Sat, 14 Mar 2020 22:03:21 -0400 Received: by mail-ed1-f65.google.com with SMTP id g19so17300739eds.11 for ; Sat, 14 Mar 2020 19:03:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=z7DU2t7m+cderg8EaFPtaxoNn5hdLKVNHAy6HvbA6dc=; b=mWIjeJP0nPIupxChcDDlB54fia4NXdGKZF0e4EDtiifIbpvl6Zm4hhE7J8QlRFZggE 69lH1XwtORjB5Oar3rJWx5oDXqn7sjtgj0mFSSfmuWAyJGs9wc8o8pFtnrFeB+47isuK V65ixdoWDA7pPmR0b9UrAsdpFx4EAqSzhjQRHEviQPxZZ1ZcXy/G6p4nrYu1Kj2evFAS tJOPcsHyOaKZlMv159hBMcq4fclyLtSAiGmzTYT1H8A2yKVlo4gTnur3AOUTLJoKQFbb BMV3cotzSYuNtMFHyp+M/IMJYxiiD0aQvci5e8C+Vx0CNOpORejskDHs2+/QfLPwgGbq 6dUw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=z7DU2t7m+cderg8EaFPtaxoNn5hdLKVNHAy6HvbA6dc=; b=OT6FhUhzrmtQxdwNzz6u2Bf6DWAFZyDSMYLuwlWevRuHrHs0oyIzLybccxd1Y/6uUS YI7DnVmPvY65fLLSSeq8K2qyTLm7yvhuYOuYab1yDZQqFLPmaU7yT9k1DCnS+Z51rCi2 GfXfRU6fn8sPlpLYu9MD0zM5/+oxUzUX9p/32+AauFWxdJ+11H0va+1WSCGhTA1KhA59 F6DRsXWpIFNIiCHQcOd/x0OD5Z/4604THZwiyQNNhgl3BxtorpNQ2itvQ90pGw1hEn2i A7tKWHyVxyi6nVILPpYNIbpBTotdz66NeP2vM+QqKf5u6CxCN/oXbjxgFU3kjFSiB6GG kxGw== X-Gm-Message-State: ANhLgQ3ER9tx8hGcFhmRfP9Vwil6D3Xc0CSJY5XdfUo26pWtkN3zej1P SDNZkgXPnFDciLV4paSoizFEOUc3 X-Google-Smtp-Source: ADFU+vvMNhFlIzGt4mHsSF+8Dtoa4Q7tmYluiY7kijokV6DgmoM/JC2yCdvw1k3HvS9iYBpzGhEUVg== X-Received: by 2002:a19:c7cd:: with SMTP id x196mr11508387lff.106.1584199857333; Sat, 14 Mar 2020 08:30:57 -0700 (PDT) Received: from saturn.lan (18.158-248-194.customer.lyse.net. [158.248.194.18]) by smtp.gmail.com with ESMTPSA id n200sm15650418lfa.50.2020.03.14.08.30.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 14 Mar 2020 08:30:56 -0700 (PDT) From: Sam Ravnborg To: Rob Herring , dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org Cc: Thierry Reding , Maxime Ripard , Laurent Pinchart , Sam Ravnborg Subject: [PATCH v1 1/3] dt-bindings: display: drop data-mapping from panel-dpi Date: Sat, 14 Mar 2020 16:30:45 +0100 Message-Id: <20200314153047.2486-2-sam@ravnborg.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200314153047.2486-1-sam@ravnborg.org> References: <20200314153047.2486-1-sam@ravnborg.org> MIME-Version: 1.0 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org data-mapping may not be the best way to describe the data format used between panels and display interface. Drop it from the panel-dpi binding so we do not start to rely on it. We can then work out how to best describe this mapping and when we know it, we can add it to this binding. Signed-off-by: Sam Ravnborg Cc: Laurent Pinchart Cc: Maxime Ripard Cc: Rob Herring Reviewed-by: Laurent Pinchart --- .../devicetree/bindings/display/panel/panel-dpi.yaml | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/Documentation/devicetree/bindings/display/panel/panel-dpi.yaml b/Documentation/devicetree/bindings/display/panel/panel-dpi.yaml index f63870384c00..0cd74c8dab42 100644 --- a/Documentation/devicetree/bindings/display/panel/panel-dpi.yaml +++ b/Documentation/devicetree/bindings/display/panel/panel-dpi.yaml @@ -21,15 +21,6 @@ properties: - {} - const: panel-dpi - data-mapping: - enum: - - rgb24 - - rgb565 - - bgr666 - description: | - Describes the media format, how the display panel is connected - to the display interface. - backlight: true enable-gpios: true height-mm: true @@ -52,7 +43,6 @@ examples: compatible = "osddisplays,osd057T0559-34ts", "panel-dpi"; label = "osddisplay"; power-supply = <&vcc_supply>; - data-mapping = "rgb565"; backlight = <&backlight>; port { From patchwork Sat Mar 14 15:30:47 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sam Ravnborg X-Patchwork-Id: 1254948 Return-Path: X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (no SPF record) smtp.mailfrom=vger.kernel.org (client-ip=209.132.180.67; helo=vger.kernel.org; envelope-from=devicetree-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=ravnborg.org Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=jiH9bpyp; dkim-atps=neutral Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 48g2kg4zF5z9sP7 for ; Sun, 15 Mar 2020 13:02:35 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727544AbgCOCCf (ORCPT ); Sat, 14 Mar 2020 22:02:35 -0400 Received: from mail-ed1-f52.google.com ([209.85.208.52]:34309 "EHLO mail-ed1-f52.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726550AbgCOCCf (ORCPT ); Sat, 14 Mar 2020 22:02:35 -0400 Received: by mail-ed1-f52.google.com with SMTP id i24so13498074eds.1 for ; Sat, 14 Mar 2020 19:02:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=9oaTRbmXh8YDwKHKnzGVIS7f6wuqtnZ7xd23oLTEEto=; b=jiH9bpypMJvdPe8XlrGt2qIBH0ac9i0GdP9NUU8Dbj21jnOYrHb0bpgF+yR2ExaTYd NAzRvP5rwXw9qS1pTlpVkDL1uK1h23pv4kRIx7rjoVJlKJ4JGKbRFRzPcCVKSHyr0Exa QYfrr56GTgIxZP4PKS3KLmbx2h8wu8mhnBIfesQ90NCsMIdxbmKKElN3L5ZdH/gmbfBb +mKXbkpKXgh37oIgvXP29B9BlEW9ZNN3qEa89bFCLbLLvpJ23EET2a315DQkHekpY87W PJnlFxnqdeB7VyXFW1bKPwiALokrPnjTfWn9E+nLuatsB2E1UE6hGwgIdU1DjH+yWgJ5 EaAg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=9oaTRbmXh8YDwKHKnzGVIS7f6wuqtnZ7xd23oLTEEto=; b=Tr0whdFUzuwwbbHfpm5Z0PyAsGuh/ZWWQXmrS50nGHsSmukClqOtnuYKa3emYFL+5/ D0b93r/YJI07LAiJEoMGMLLLkicPLBRMmpUTlUFAluF1o7NEyRhiTyevlfNG7rkRdjrw o16n74q8eOY2T6f0rvAGcyxFtnEzAOxprG5LkdDrhMkeCicbAYJjGwoyt/WV6vHHGBze KMpkOexvqXOeAQcD1merM6gmU2vpzryR4R4Aba2e3PZ30nHH0gGZe6di/8n5/bmJ1R0q VT4NtVr0sETGdeN4TwRPxZnJUShYuHY+egKefyEsxBxh62CNaOVVivYc378hJSR+o9oo mjyQ== X-Gm-Message-State: ANhLgQ0LzXSqsYfezkDURAGUkqQmMyzsKQHnfMFF3HgcuWxCoyBM/D3e S1+6PmH56qmZWgeuS1FrXQn0bBeZ X-Google-Smtp-Source: ADFU+vvH1iIivBsmhWr5uHtWe7gtlRpbjBV0BUayRn5Pu0EOIMWSnmqA2h3aU7ENFknpE70YCgDJCQ== X-Received: by 2002:a05:6512:10c4:: with SMTP id k4mr11585029lfg.98.1584199859650; Sat, 14 Mar 2020 08:30:59 -0700 (PDT) Received: from saturn.lan (18.158-248-194.customer.lyse.net. [158.248.194.18]) by smtp.gmail.com with ESMTPSA id n200sm15650418lfa.50.2020.03.14.08.30.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 14 Mar 2020 08:30:59 -0700 (PDT) From: Sam Ravnborg To: Rob Herring , dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org Cc: Thierry Reding , Maxime Ripard , Laurent Pinchart , Sam Ravnborg Subject: [PATCH v1 3/3] dt-bindings: display: grammar fixes in panel/ Date: Sat, 14 Mar 2020 16:30:47 +0100 Message-Id: <20200314153047.2486-4-sam@ravnborg.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200314153047.2486-1-sam@ravnborg.org> References: <20200314153047.2486-1-sam@ravnborg.org> MIME-Version: 1.0 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Fix a few grammar/editorial issues spotted by Laurent Pinchart. Signed-off-by: Sam Ravnborg Cc: Laurent Pinchart Cc: Rob Herring Reviewed-by: Laurent Pinchart --- .../bindings/display/panel/display-timings.yaml | 8 ++++---- .../devicetree/bindings/display/panel/panel-common.yaml | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Documentation/devicetree/bindings/display/panel/display-timings.yaml b/Documentation/devicetree/bindings/display/panel/display-timings.yaml index c8c0c9cb0492..56903ded005e 100644 --- a/Documentation/devicetree/bindings/display/panel/display-timings.yaml +++ b/Documentation/devicetree/bindings/display/panel/display-timings.yaml @@ -4,7 +4,7 @@ $id: http://devicetree.org/schemas/display/panel/display-timings.yaml# $schema: http://devicetree.org/meta-schemas/core.yaml# -title: display timing bindings +title: display timings bindings maintainers: - Thierry Reding @@ -14,7 +14,7 @@ maintainers: description: | A display panel may be able to handle several display timings, with different resolutions. - The display-timings node makes it possible to specify the timing + The display-timings node makes it possible to specify the timings and to specify the timing that is native for the display. properties: @@ -25,8 +25,8 @@ properties: $ref: /schemas/types.yaml#/definitions/phandle description: | The default display timing is the one specified as native-mode. - If no native-mode is specified then the first node is assumed the - native mode. + If no native-mode is specified then the first node is assumed + to be the native mode. patternProperties: "^timing": diff --git a/Documentation/devicetree/bindings/display/panel/panel-common.yaml b/Documentation/devicetree/bindings/display/panel/panel-common.yaml index ed051ba12084..dee4faffd204 100644 --- a/Documentation/devicetree/bindings/display/panel/panel-common.yaml +++ b/Documentation/devicetree/bindings/display/panel/panel-common.yaml @@ -63,9 +63,9 @@ properties: display-timings: description: - Some display panels supports several resolutions with different timing. + Some display panels supports several resolutions with different timings. The display-timings bindings supports specifying several timings and - optional specify which is the native mode. + optionally specify which is the native mode. allOf: - $ref: display-timings.yaml#