Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp3838503imu; Mon, 10 Dec 2018 08:36:02 -0800 (PST) X-Google-Smtp-Source: AFSGD/UPPowR5Q1M9xASn12Qh78uk50veADRSke52w0geszDzttMkAxJ4EG8J8sylT6FH0kw9K1f X-Received: by 2002:a62:4641:: with SMTP id t62mr12776937pfa.141.1544459762270; Mon, 10 Dec 2018 08:36:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544459762; cv=none; d=google.com; s=arc-20160816; b=AbcarfWBUoLeoO7LNNsVfcNJomOLZekP+Gf2qT1ZuP+KrxBHHfYx0LWuVGBWWRVhd2 5R+Uh8LJ9939s2orJD7NDMgpd/esBRzzUKwT8QD8d+5Kk6jWGQRdxl8wgUbG1RcoUA3u URP6j8Jdnent/EPaWupVhXiNyKhT9rH+w0adpR4YUp4QmChTs1AuBUSAc/Kiv+uFy4jw 0xuefQ8cKglCrWuYnQdPglNaM1CC4vF5Z03vN7wHqUPOtOziANBMbnbfajW1uSYoUlhA YxrAcn1ht97tTuvlmpfw3lbJ7QExDA+55UcyU7/6KJeaUXPDjT0dh4iDpR6fXcCX88GQ uU/w== 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; bh=3atvhQH1w4y9yhNMpxjfSu+yC2VRzTg5BHrV+olqQDQ=; b=tSmZih6DyRG4xtm4Hx1xjUJQ7otVvyN1Q+tEaeCyIU7PMMTK9GOj+aP9x00dJhH655 KyCUBxrL8vobDAxVQ8UPbrGMIA7DYGwIzcFnvaDN9Bj7ZUxZgkFacn4fqLcS8zc0tZ8C bI9UZkOHfJqMkLnnWHNl3EBU5tqD7WsrFdrLhg0TNE6L+7uR/bLk3Qu4GmcsbLI+xbJO KUBv8zLOOYAwlVNbkHvmERxboPokLnv0ZZdZumdDPGlnilRKicyOBPbM52lww8lTJERf cyP1owI9KD0eb0WjbrxeVfyV5bJX/XyJYTcWUqBVjIzZJs5bvDu0uzcMM7C4mlX3bXoR RCmA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 31si10527166pli.438.2018.12.10.08.35.47; Mon, 10 Dec 2018 08:36:02 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728681AbeLJQbl (ORCPT + 99 others); Mon, 10 Dec 2018 11:31:41 -0500 Received: from mx2.suse.de ([195.135.220.15]:45698 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726962AbeLJQbi (ORCPT ); Mon, 10 Dec 2018 11:31:38 -0500 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay1.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id 9F215AFF9; Mon, 10 Dec 2018 16:31:36 +0000 (UTC) From: Nicolas Saenz Julienne To: linux-kernel@vger.kernel.org Cc: linux-rpi-kernel@lists.infradead.org, stefan.wahren@i2se.com, eric@anholt.net, agraf@suse.de, Nicolas Saenz Julienne , Dmitry Torokhov , Rob Herring , Mark Rutland , linux-input@vger.kernel.org, devicetree@vger.kernel.org Subject: [PATCH 2/2] Input: raspberrypi-ts - add devicetree binding documentation Date: Mon, 10 Dec 2018 17:30:21 +0100 Message-Id: <20181210163036.24813-3-nsaenzjulienne@suse.de> X-Mailer: git-send-email 2.19.2 In-Reply-To: <20181210163036.24813-1-nsaenzjulienne@suse.de> References: <20181210163036.24813-1-nsaenzjulienne@suse.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Adds device tree documentation for Raspberry Pi's official 7" touchscreen. Signed-off-by: Nicolas Saenz Julienne --- .../touchscreen/raspberrypi,firmware-ts.txt | 26 +++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 Documentation/devicetree/bindings/input/touchscreen/raspberrypi,firmware-ts.txt diff --git a/Documentation/devicetree/bindings/input/touchscreen/raspberrypi,firmware-ts.txt b/Documentation/devicetree/bindings/input/touchscreen/raspberrypi,firmware-ts.txt new file mode 100644 index 000000000000..38e22eb222e9 --- /dev/null +++ b/Documentation/devicetree/bindings/input/touchscreen/raspberrypi,firmware-ts.txt @@ -0,0 +1,26 @@ +Raspberry Pi 3 firmware based 7" touchscreen +===================================== + +Required properties: + - compatible: "raspberrypi,firmware-ts" + +Optional properties: + - firmware: Reference to RPi's firmware device node + - touchscreen-size-x: See touchscreen.txt + - touchscreen-size-y: See touchscreen.txt + - touchscreen-inverted-x: See touchscreen.txt + - touchscreen-inverted-y: See touchscreen.txt + - touchscreen-swapped-x-y: See touchscreen.txt + +Example: + +firmware: firmware-rpi { + compatible = "raspberrypi,bcm2835-firmware"; + mboxes = <&mailbox>; + + ts: touchscreen { + compatible = "raspberrypi,firmware-ts"; + touchscreen-size-x = <800>; + touchscreen-size-y = <480>; + }; +}; -- 2.19.2