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=-5.2 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=no 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 26536C63798 for ; Mon, 16 Nov 2020 22:02:17 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id CAC9F206E0 for ; Mon, 16 Nov 2020 22:02:16 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727687AbgKPWCD (ORCPT ); Mon, 16 Nov 2020 17:02:03 -0500 Received: from jabberwock.ucw.cz ([46.255.230.98]:54682 "EHLO jabberwock.ucw.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726791AbgKPWCC (ORCPT ); Mon, 16 Nov 2020 17:02:02 -0500 Received: by jabberwock.ucw.cz (Postfix, from userid 1017) id 328C91C0BA1; Mon, 16 Nov 2020 23:01:55 +0100 (CET) Date: Mon, 16 Nov 2020 23:01:53 +0100 From: Pavel Machek To: Caleb Connolly Cc: linux-arm-msm@vger.kernel.org, Andy Gross , Bjorn Andersson , Rob Herring , Kees Cook , Anton Vorontsov , Colin Cross , Tony Luck , phone-devel@vger.kernel.org, ~postmarketos/upstreaming@lists.sr.ht, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 3/5] arm64: dts: sdm845: add oneplus 6/t devices Message-ID: <20201116220153.GA1003@bug> References: <20201112161920.2671430-1-caleb@connolly.tech> <20201112161920.2671430-4-caleb@connolly.tech> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20201112161920.2671430-4-caleb@connolly.tech> User-Agent: Mutt/1.5.23 (2014-03-12) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi! > Add initial support for the OnePlus 6 (enchilada) and 6T (fajita) based > on the sdm845-mtp DT. Support includes: > > * Display panels and Adreno 630 > * Touch screen support with synaptics rmi4 > * All remoteprocs start correctly > * WLAN / Bluetooth > * Volume / power buttons and OnePlus Tri-State switch are functional > The tri-state switch is a 3 state mute slider on the side of the phone * USB > support, currently forced to peripheral as type C detection isn't functional. I have similar switches on my joystick... but I don't believe modelling it as 3 separate keys with "macro" keysym is the right way to go. > + state-top { > + label = "Tri-state key top"; > + linux,code = ; > + interrupt-parent = <&tlmm>; > + interrupts = <24 IRQ_TYPE_EDGE_FALLING>; > + debounce-interval = <500>; > + linux,can-disable; > + }; > + > + state-middle { > + label = "Tri-state key middle"; > + linux,code = ; > + interrupt-parent = <&tlmm>; > + interrupts = <52 IRQ_TYPE_EDGE_FALLING>; > + debounce-interval = <500>; > + linux,can-disable; > + }; > + > + state-bottom { > + label = "Tri-state key bottom"; > + linux,code = ; > + interrupt-parent = <&tlmm>; > + interrupts = <126 IRQ_TYPE_EDGE_FALLING>; > + debounce-interval = <500>; > + linux,can-disable; > + }; Best regards, Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html