Received: by 2002:a25:c205:0:0:0:0:0 with SMTP id s5csp766994ybf; Fri, 28 Feb 2020 07:16:11 -0800 (PST) X-Google-Smtp-Source: APXvYqw7l9J0hw7me+RjGf0oQxgNDlO5U+x+PbSTPSHOKRNJRs1YJO0YiqptoO9YaBsXFxYzwiD+ X-Received: by 2002:aca:4a84:: with SMTP id x126mr3343026oia.99.1582902971435; Fri, 28 Feb 2020 07:16:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582902971; cv=none; d=google.com; s=arc-20160816; b=H42CtBiGQxj0ExlZCRln4EbsinoZ3hVubnQb/zPf7hll43CQqDUlXa5PD9U1Vp06YI B1HJpb1asDMYRxrHEfLnDdHch6f86MWyn5shsP0YtWlyuWKcTUhkLdi9pbJehroUoYO7 keHVRHfQEtpiEa2amnXGQA/syUVt5uH+tloD3P0Dgk+9h0vbLDS/vn14Pi+kDNbj/xLM sY41xHRZcqFbDFXAaFi6ftlWKpHK4V33XKc24l9lhcO52m9VnKBELOdGQ3xSztX6ykHe IEJqTtfhHh9BpXcOLJBolkKUHitJYgFEtp9NvBAm6wq/dwAyV8joEglOTmf7REH6ZqQD SMiA== 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=0sB6dWWswY/HP2EO7ud9mMhq0NvSAsbNHBP0BP6+xJo=; b=ppGVu7fWMFh3Lb0YNI9uthdN2aHUtoRBnScFAe+bSOCnpwADzgQfaZSX0TNCrNMAoX 4AlfWrpfKftWaMwD22mAsp5zBcMl9PwnVgsR7VUKzv+oIqJwvRsdUFe0iTmyOXyBTcA3 2AHeq8Q6K4qIpImCiyj5n/L2N9/JquSLLChQrFLmXYQHRJwXMohb+SRSeL/KUNLOs/QF jYb1CKqi7nYuww+29pOY/u4Tr/xg9kWPOVZY6g0amvGVO4RdHrsoT6++ryqz6X5wQTtV zRb91ks+njyei+rOMuIkzLuERWI+OMPL5zoCUwafLrDis8IERVTBseMaGu2+BinlaLIW 8gDg== 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 w1si1767143otl.9.2020.02.28.07.15.57; Fri, 28 Feb 2020 07:16:11 -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 S1726974AbgB1PPo (ORCPT + 99 others); Fri, 28 Feb 2020 10:15:44 -0500 Received: from gloria.sntech.de ([185.11.138.130]:39050 "EHLO gloria.sntech.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726720AbgB1PPn (ORCPT ); Fri, 28 Feb 2020 10:15:43 -0500 Received: from ip5f5a5d2f.dynamic.kabel-deutschland.de ([95.90.93.47] helo=diego.localnet) by gloria.sntech.de with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1j7hMM-0006eU-6O; Fri, 28 Feb 2020 16:15:26 +0100 From: Heiko =?ISO-8859-1?Q?St=FCbner?= To: Tobias Schramm Cc: Rob Herring , Mark Rutland , Andy Yan , Douglas Anderson , Jagan Teki , Markus Reichl , Alexis Ballier , Matthias Kaehlcke , Nick Xie , Kever Yang , Vivek Unune , Katsuhiro Suzuki , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org, anarsoul@gmail.com, enric.balletbo@collabora.com Subject: Re: [PATCH 2/2] arm64: dts: rockchip: Add initial support for Pinebook Pro Date: Fri, 28 Feb 2020 16:15:25 +0100 Message-ID: <3144691.gaQQKPV42P@diego> In-Reply-To: <37190f26-48aa-dcad-d4b1-8a534ba1360e@manjaro.org> References: <20200227180630.166982-1-t.schramm@manjaro.org> <12370413.gKdrHkWbHd@diego> <37190f26-48aa-dcad-d4b1-8a534ba1360e@manjaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Tobias, Am Freitag, 28. Februar 2020, 15:57:10 CET schrieb Tobias Schramm: > thanks for the review. I'll implement the changes and send a v2. > > >> + * of wakeup sources without disabling the whole key > > Also can you explain the problem a bit? If there is a deficit in the input > > subsystem regarding wakeup events, dt is normally not the place to work > > around things [we're supposed to be OS independent] > > The issue is that some users wanted to be able to control the wakeup > functionality of the keys separately via sysfs. That does not seem to be > possible when combining both keys into one gpio-keys node. A more > detailed explanation of the issue can be found at [1]. ok ... but that is really strange, because looking at gpio-keys.c I see it checking the individual button wakeup-property before setting the irq-wake in gpio_keys_enable_wakeup() . Ah, but I guess manually disabling/enabling wakeup via sysfs only works for the whole device and all wakeup buttons. In general this sounds more like a gpio-keys deficit, but in the end we can keep the separate gpio-key nodes here, they don't violate any dt-bindings ;-) . Heiko