From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-10.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2FD50C433E0 for ; Tue, 21 Jul 2020 02:11:48 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (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 F37382072E for ; Tue, 21 Jul 2020 02:11:47 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="un304a+O" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org F37382072E Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References:Message-ID: Subject:To:From:Date:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=P7hEZRBivk1aPjeB/d2IcSVwZb3ynN1F5oDsN40mV8k=; b=un304a+O2g3bvFXsmjDI7CqIC JlgUiURHcbMfQ5TWgqnNlCWKAuKCA1x0u8QHw19K8QUhH0w4E5MCk46FLWOF/RU70VZJTeZua+AoU jkkEkPJ+GypW2vHg5eXJJ/ZCw2Wc/x0foVXxoo0LRnL99Z93w+QYIef2B6rcHXf2j7FabhxBg52id s/S8yBBCcwdWbH1JDRWsxqBaJybj86tHyalFmiSMZYfujrfDhtsZYiVHDw/sdvRA+NeHEkm9QOVfY kjGKJodXUIq+82ux3YN4I0w7MnR4js5mF8t0BLQzJOfTwf1dIsE76MP6mDFrJvWs9tnZd0wuvgJqA Z5tzaAW+A==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jxhjj-0000KP-AX; Tue, 21 Jul 2020 02:10:31 +0000 Received: from mail-io1-f67.google.com ([209.85.166.67]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jxhjh-0000Ju-Dk for linux-arm-kernel@lists.infradead.org; Tue, 21 Jul 2020 02:10:30 +0000 Received: by mail-io1-f67.google.com with SMTP id c16so19722798ioi.9 for ; Mon, 20 Jul 2020 19:10:29 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=/46L/c6KjZBA8UxcNLwuQWdQYtMpxrAX9cV63irRY9g=; b=IDrhBoVgNPSrtmwx7Y99mr/Mzz90Hkj87zXg4LjMwjEtntDHhzKDfHxM3vQgZZg74S 5bO+niVwrHEwlvxSbDn4rxw0GDuYc0Oo7Lromayamht7XN42F773m8M3uIjsLloJ8HfL JIZl3kBNThBvRYbGI3x4UwkqE21cuBKbM5AG+y58LUhvgcaTIerWHzUzpTFXq13F6n3w BQiRSixs//dfQSvypw7iSYUNXDEZ2rHUQP+6+vPbxcx3xeN/iAo8sK3cg+GgAb3MedVC /XvXdCJNJ7IA6saAl+nQXe8K6MD5a3HqFjj0deRmCWVfKBKL4ZMdAs1HqYUlqTPHFPJz 0lEA== X-Gm-Message-State: AOAM533BrSVYstnOD7jYzz/o5jvhal0zlUS7i/Z5fnCyUo1WS/IrMS5J q6yX3N2jiAqyx0fT3CuBCQ== X-Google-Smtp-Source: ABdhPJwTmQpxHmmOzo0iMaN1uJwnfUhSB9KfvOR2nPHFEjoe2wxlJnhzE2QElfxxyztGC0KuU6qdQg== X-Received: by 2002:a6b:b54e:: with SMTP id e75mr25929429iof.31.1595297428957; Mon, 20 Jul 2020 19:10:28 -0700 (PDT) Received: from xps15 ([64.188.179.252]) by smtp.gmail.com with ESMTPSA id l18sm9842201ill.56.2020.07.20.19.10.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Jul 2020 19:10:28 -0700 (PDT) Received: (nullmailer pid 3386425 invoked by uid 1000); Tue, 21 Jul 2020 02:10:26 -0000 Date: Mon, 20 Jul 2020 20:10:26 -0600 From: Rob Herring To: Chen-Yu Tsai Subject: Re: [PATCH 1/5] dt-bindings: display: panel-dpi: Add bits-per-color property Message-ID: <20200721021026.GA3382460@bogus> References: <20200714071305.18492-1-wens@kernel.org> <20200714071305.18492-2-wens@kernel.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20200714071305.18492-2-wens@kernel.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200720_221029_471904_1A255125 X-CRM114-Status: GOOD ( 16.54 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Siarhei Siamashka , David Airlie , Maxime Ripard , Chen-Yu Tsai , Thierry Reding , dri-devel@lists.freedesktop.org, Daniel Vetter , Sam Ravnborg , linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Tue, Jul 14, 2020 at 03:13:01PM +0800, Chen-Yu Tsai wrote: > From: Chen-Yu Tsai > > Some LCD panels do not support 24-bit true color, or 8bits per channel > RGB. Many low end ones only support up to 6 bits per channel natively. This should be implied by the panel's compatible property. > Add a device tree property to describe the native bit depth of the > panel. This is separate from the bus width or format of the connection > to the display output. > > Signed-off-by: Chen-Yu Tsai > --- > .../devicetree/bindings/display/panel/panel-dpi.yaml | 4 ++++ > 1 file changed, 4 insertions(+) > > diff --git a/Documentation/devicetree/bindings/display/panel/panel-dpi.yaml b/Documentation/devicetree/bindings/display/panel/panel-dpi.yaml > index 0cd74c8dab42..8eb013fb1969 100644 > --- a/Documentation/devicetree/bindings/display/panel/panel-dpi.yaml > +++ b/Documentation/devicetree/bindings/display/panel/panel-dpi.yaml > @@ -26,6 +26,9 @@ properties: > height-mm: true > label: true > panel-timing: true > + bits-per-color: > + description: > + Shall contain an integer describing the number of bits per color. > port: true > power-supply: true > reset-gpios: true > @@ -42,6 +45,7 @@ examples: > panel { > compatible = "osddisplays,osd057T0559-34ts", "panel-dpi"; > label = "osddisplay"; > + bits-per-color = <8>; > power-supply = <&vcc_supply>; > backlight = <&backlight>; > > -- > 2.27.0 > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel