Received: by 2002:a25:31c3:0:0:0:0:0 with SMTP id x186csp5417822ybx; Sun, 10 Nov 2019 12:51:50 -0800 (PST) X-Google-Smtp-Source: APXvYqz276Hw1hnaeK+KNGfNg0CGS3nJwwxJxbVI9+APNJ7dK52NNdMcsHn/lzd1kGW7VoN/soea X-Received: by 2002:a17:906:7051:: with SMTP id r17mr18829621ejj.155.1573419109952; Sun, 10 Nov 2019 12:51:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573419109; cv=none; d=google.com; s=arc-20160816; b=URZAkT9QZ1MLxS60pvLtwQJruBF9bSOArdWMoskRjAU27peFW0aOhOgPkMsQp1ScwG 0r8+0vivDXJTMdwzNM3dt+vgjC+HVSZ8eL6JQld3S3a6FHtm4gUm020TWMwkeBNIx5Cj gbEKSo8FZCH1zwQxSRxn5k/doVawTeVC+RPLVCF2VxH2uFmvM4aL4FTBfz2EnexMvgFb kqNYxbF4RVvbPPHIElEL/oCxLy3We2Qa+S64/GYNFgCdxl8nikZOZmGis6apWP49mEIV LXGTEmjQ5jKX59oibd5eln8cQ5Yt9f5pCAYUzMdNFgKYMShAzPcls3PVUaXhdWKFMOTF /HmQ== 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 :content-language:in-reply-to:mime-version:user-agent:date :message-id:autocrypt:from:references:cc:to:subject:dkim-signature; bh=XMGjzy2jF9shV8Yzd4U9oGsfbDGpjYHmAOfvcyTPLCo=; b=0ndF6BkxHLP2v54GCvlggO9b6f160lrG1aglddM5kHjXsZlpP8ir/TiXfpKHaND3yu onmADnR5X4PU5hkiYYgRNNUHSThMthtJpdUe+vNPJiC+C3W4e52quKKAgTximQfcLesb yK1sYBu2vdLZNwYNHmdgLuMG4psUs//70kp+18MLUSmCvNPvSOIpGtUMsh0cPhKd9OAW xVkiG8J8bzaQNY2gKuq6JJBxUiIAOCiQug5RKnBU0ydHOSmhzprmXube7SuNHHPQ0av2 5mR7l36o/nTO6yKYkKuxDibJvMbrBqxssETCP7edt4BlYh9luKTA5ieXnSw3iGOXh78Z vmQw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=lh1EVpJR; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id ov16si3109019ejb.274.2019.11.10.12.51.26; Sun, 10 Nov 2019 12:51:49 -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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=lh1EVpJR; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727070AbfKJUkI (ORCPT + 99 others); Sun, 10 Nov 2019 15:40:08 -0500 Received: from mail-wm1-f65.google.com ([209.85.128.65]:50304 "EHLO mail-wm1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726778AbfKJUkI (ORCPT ); Sun, 10 Nov 2019 15:40:08 -0500 Received: by mail-wm1-f65.google.com with SMTP id l17so10425274wmh.0; Sun, 10 Nov 2019 12:40:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:autocrypt:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=XMGjzy2jF9shV8Yzd4U9oGsfbDGpjYHmAOfvcyTPLCo=; b=lh1EVpJRe1SuK4iFM2jNT3ZtAVZVYZ0QxRLSOPoeHdagsOZrNdPvCR9aJUVF3DNmP4 mkv2ykZwziySq+exrqhyYhxKdxPgExP16qSap1qerEoxVOR26WjGwdM4lB49aFwPD1sR PjVIgEJKAVhil0ASu1CBRWBiGemTtGkF38ISUTS5077Zn5btGsU24tq0NAiUjPjptOAt 4HNhPAWDzixS6X/qiHuZ0tqX32KBMkQ3D5rHYXW5lzSwqKHC62YwgHo7RS6RxdrLLRBS fYfiqF4aYFtou4577vMCmZw0C2LRuZHZ2XCn8j/iAzL8NCSHZwsSJQmpRMLtwPm6XSs0 ffSA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:autocrypt :message-id:date:user-agent:mime-version:in-reply-to :content-language:content-transfer-encoding; bh=XMGjzy2jF9shV8Yzd4U9oGsfbDGpjYHmAOfvcyTPLCo=; b=GEuMFiexebfhbeCkoOqqivxCbivCbViwE6LKUTMB4Ym4Bjj8mooKFCmL3jRpdQNpv3 a8al8Qf8FbWTCAAwDtsl7c8OWIdbPvxpjC4sYBCUED8Y5F8ydjXCf3gXwdFrvcI9vnWU 4RAsJT4obrQcq7snv7mAYU+HEmELe+SnLft5iaagwCBhop/3a2WLVXqV/P9AzL04gt36 OYLw3mHDt6oJYC0oajVA8bh5XHYrStXXRBD8/SCftvojN6uMYkJs2rB0bSe7VddYORaV mS6Bbpl4eFFcHdKdtIr0WODTj8WLd+GYZHXnEVWLoQ+hdLqF7vo8vXjHWL3I6y9bhboZ Tcjg== X-Gm-Message-State: APjAAAVEQKt73q3WY3fkkDGu4PzyBSrSTVVUHnYD4aiDD8q5o3zSBBPP tmk9+9Ywksj9NVRiIpwRf8M= X-Received: by 2002:a1c:5459:: with SMTP id p25mr16624077wmi.109.1573418404390; Sun, 10 Nov 2019 12:40:04 -0800 (PST) Received: from ziggy.stardust ([95.169.226.39]) by smtp.gmail.com with ESMTPSA id b66sm16440605wmh.39.2019.11.10.12.40.02 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 10 Nov 2019 12:40:03 -0800 (PST) Subject: Re: [PATCH v7 7/7] arm: dts: mt6323: add keys, power-controller, rtc and codec To: Frank Wunderlich , linux-mediatek@lists.infradead.org Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Alessandro Zummo , Alexandre Belloni , Eddie Huang , Josef Friedl , Lee Jones , linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org, linux-rtc@vger.kernel.org, Mark Rutland , Rob Herring , Sean Wang , Sebastian Reichel , Tianping Fang References: <20190910070446.639-1-frank-w@public-files.de> <20190910070446.639-8-frank-w@public-files.de> From: Matthias Brugger Autocrypt: addr=matthias.bgg@gmail.com; prefer-encrypt=mutual; keydata= mQINBFP1zgUBEAC21D6hk7//0kOmsUrE3eZ55kjc9DmFPKIz6l4NggqwQjBNRHIMh04BbCMY fL3eT7ZsYV5nur7zctmJ+vbszoOASXUpfq8M+S5hU2w7sBaVk5rpH9yW8CUWz2+ZpQXPJcFa OhLZuSKB1F5JcvLbETRjNzNU7B3TdS2+zkgQQdEyt7Ij2HXGLJ2w+yG2GuR9/iyCJRf10Okq gTh//XESJZ8S6KlOWbLXRE+yfkKDXQx2Jr1XuVvM3zPqH5FMg8reRVFsQ+vI0b+OlyekT/Xe 0Hwvqkev95GG6x7yseJwI+2ydDH6M5O7fPKFW5mzAdDE2g/K9B4e2tYK6/rA7Fq4cqiAw1+u EgO44+eFgv082xtBez5WNkGn18vtw0LW3ESmKh19u6kEGoi0WZwslCNaGFrS4M7OH+aOJeqK fx5dIv2CEbxc6xnHY7dwkcHikTA4QdbdFeUSuj4YhIZ+0QlDVtS1QEXyvZbZky7ur9rHkZvP ZqlUsLJ2nOqsmahMTIQ8Mgx9SLEShWqD4kOF4zNfPJsgEMB49KbS2o9jxbGB+JKupjNddfxZ HlH1KF8QwCMZEYaTNogr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XJaaYh3LUQNILLBNxkSrhCLl8dUg53IbHx4NfIAgqxLWGfXM8D Y1aFdU79pac005PuhxCWkKTJz3gCmznnoat4GCnL5gy/m0Qk45l4PFqwWXVLo9AQg2Kp3mlI FZ6fsEKIAN5hxlbNvNb9V2Zo5bFZjPWPFTxOteM0omUAS+QopwU0yPLLGJVf2iCmItHcUXI+ r2JwH1CJjrHWeQEI2ucSKsNa8FllDmG/fQ== Message-ID: <4ae8d72c-3c28-0bec-bf6f-4bb26dcda578@gmail.com> Date: Sun, 10 Nov 2019 21:40:01 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.1.1 MIME-Version: 1.0 In-Reply-To: <20190910070446.639-8-frank-w@public-files.de> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 10/09/2019 09:04, Frank Wunderlich wrote: > From: Josef Friedl > > support poweroff and power-related keys on bpi-r2 > > Suggested-by: Frank Wunderlich > Signed-off-by: Josef Friedl > Signed-off-by: Frank Wunderlich Applied thanks! > --- > changes since v6: none > changes since v5: none > changes since v4: none > changes since v3: none > changes since v2: none (=v2 part 7) > --- > arch/arm/boot/dts/mt6323.dtsi | 27 +++++++++++++++++++++++++++ > 1 file changed, 27 insertions(+) > > diff --git a/arch/arm/boot/dts/mt6323.dtsi b/arch/arm/boot/dts/mt6323.dtsi > index ba397407c1dd..7fda40ab5fe8 100644 > --- a/arch/arm/boot/dts/mt6323.dtsi > +++ b/arch/arm/boot/dts/mt6323.dtsi > @@ -238,5 +238,32 @@ > regulator-enable-ramp-delay = <216>; > }; > }; > + > + mt6323keys: mt6323keys { > + compatible = "mediatek,mt6323-keys"; > + mediatek,long-press-mode = <1>; > + power-off-time-sec = <0>; > + > + power { > + linux,keycodes = <116>; > + wakeup-source; > + }; > + > + home { > + linux,keycodes = <114>; > + }; > + }; > + > + codec: mt6397codec { > + compatible = "mediatek,mt6397-codec"; > + }; > + > + power-controller { > + compatible = "mediatek,mt6323-pwrc"; > + }; > + > + rtc { > + compatible = "mediatek,mt6323-rtc"; > + }; > }; > }; >