From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753321AbdBCMQ6 (ORCPT ); Fri, 3 Feb 2017 07:16:58 -0500 Received: from smtp.domeneshop.no ([194.63.252.55]:46318 "EHLO smtp.domeneshop.no" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752967AbdBCMQ4 (ORCPT ); Fri, 3 Feb 2017 07:16:56 -0500 Subject: Re: [PATCH v3 5/7] dt-bindings: display: Add common rotation property To: Rob Herring , Thierry Reding References: <20170131160319.9695-1-noralf@tronnes.org> <20170131160319.9695-6-noralf@tronnes.org> <20170201174113.g7sdkhtzvizg5ajv@rob-hp-laptop> Cc: dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, thomas.petazzoni@free-electrons.com, linux-kernel@vger.kernel.org From: =?UTF-8?Q?Noralf_Tr=c3=b8nnes?= Message-ID: <30cce12b-b6c6-c651-409e-5574b5f7576e@tronnes.org> Date: Fri, 3 Feb 2017 13:16:45 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.7.0 MIME-Version: 1.0 In-Reply-To: <20170201174113.g7sdkhtzvizg5ajv@rob-hp-laptop> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Thierry, please have a look at this. In which direction should we rotate to match how drm rotation works? Den 01.02.2017 18.41, skrev Rob Herring: > On Tue, Jan 31, 2017 at 05:03:17PM +0100, Noralf Trønnes wrote: >> Display panels can be oriented many ways, especially in the embedded >> world. The rotation property is a way to describe this orientation. >> The counter clockwise direction is chosen because that's what fbdev >> and drm use. > The h/w mounting is rotated counter clockwise, so the framebuffers' > contents are rotated clockwise, right? > >> Signed-off-by: Noralf Trønnes >> --- >> Documentation/devicetree/bindings/display/display.txt | 4 ++++ > This is panel property, so bindings/display/panel/panel.txt. > >> 1 file changed, 4 insertions(+) >> create mode 100644 Documentation/devicetree/bindings/display/display.txt >> >> diff --git a/Documentation/devicetree/bindings/display/display.txt b/Documentation/devicetree/bindings/display/display.txt >> new file mode 100644 >> index 0000000..e2e6867 >> --- /dev/null >> +++ b/Documentation/devicetree/bindings/display/display.txt >> @@ -0,0 +1,4 @@ >> +Common display properties >> +------------------------- >> + >> +- rotation: Display rotation in degrees counter clockwise (0,90,180,270) >> -- >> 2.10.2 >> >> -- >> To unsubscribe from this list: send the line "unsubscribe devicetree" in >> the body of a message to majordomo@vger.kernel.org >> More majordomo info at http://vger.kernel.org/majordomo-info.html