Received: by 2002:a05:6a10:9e8c:0:0:0:0 with SMTP id y12csp583614pxx; Wed, 28 Oct 2020 11:41:29 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxy3Vik386WcOMUMMqP2Kq6k/p9DEtgjKOYGNQBN623kFz6FcrPmB6l0GiqpquFi4LKWDVw X-Received: by 2002:aa7:cd98:: with SMTP id x24mr226463edv.237.1603910489192; Wed, 28 Oct 2020 11:41:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603910489; cv=none; d=google.com; s=arc-20160816; b=ChlXZCycx0X+eZ26ZXSr39djRigLWR4lSSt1RIdYiPmVTCAxLifT3XBq9i/Z9dD4wN VgPqzkHzwzx03HppW8ZZ6Jo081J8MzcheS9Iv2bzX2j0/AkWT0CzIAeFFEciXtU4uK/a ciiFzWW6k11o3BeVx2VTHlm4nbIfiJ8mgTw+gQGHmJLS6ujr+zNyAn4Q+Dqx2aKq5tTY 3fOi7mB7r34WNK9MaPWwR4V56bp94Ghh7py0ypB/yNedkXaoXPdBIxmBafUSYg1He3JP D02A63vyBX9Rpxl7ubPEvS7mo9Ai6ARtFGZ66sod5BsY/T/vditKZlGyQPffeQTSHeE/ +Bew== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=AizmEGLJWCh5e+BIl/5tzrCIJ5dIEIgB9BBqx3BLDyw=; b=mGOmn/hg7flh11tZSAgyVd0cIkX4BQ/IRMIng4mGzyF5b08QFilYKe8N+/7iGn9748 SVInagIImCJfIc8QIa+5pxgPiH4kHHdqYrycY/KbOqSkoBUanm0+XJQICopsNtoh73Gp n4adb8PFegSpj7rsPbUtLmDnWA57DOk3I6cfL6fi5qcJOv5yFnLVfdjofe1lD4VwcRel LGtnvn42+J8Ow7LzJh04GrrnxdyvqU39eienPjFV2DkO+UCw6gJMmPYlHSWKtkiQVoT4 PEWX8Up2ZFnmCch5pBR8euDG7beEPUew3JVcUNhGOeXAG/MUTBYTTu4/tGPluB+xfXsY 1IZg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=P2UTQj+r; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y6si18713edm.295.2020.10.28.11.41.06; Wed, 28 Oct 2020 11:41:29 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=P2UTQj+r; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1825699AbgJ0SMm (ORCPT + 99 others); Tue, 27 Oct 2020 14:12:42 -0400 Received: from mail-wr1-f68.google.com ([209.85.221.68]:35844 "EHLO mail-wr1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1825632AbgJ0SMK (ORCPT ); Tue, 27 Oct 2020 14:12:10 -0400 Received: by mail-wr1-f68.google.com with SMTP id x7so2986530wrl.3 for ; Tue, 27 Oct 2020 11:12:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=AizmEGLJWCh5e+BIl/5tzrCIJ5dIEIgB9BBqx3BLDyw=; b=P2UTQj+r1SEKRJedJWTFLKzP8So657DIQN2igB9WKpnJ856BOvDDfhLzT9DqoAdWF2 kGplRYYu2HTJ/KE+eIhW6lNcI0+4I03RUL690XQRmlOGVhnMfC9z7AgiiKr43rrcu7Ck 48qsUdqDxpTL6c0x/WWSVXeMrpZ1T44svS/CO1rtcP6PIONfvEZ6w9Dm16JaqQQW+Fa5 N7dq/PTYCc6okwxpphEDjOj1VsK0sCgDoiH7qemoPGPyYaZ2o7NSEH1RSbUjqWVQuavW 4PQH5Tva2lt4aKmDZS5K36KPM79gR3Kz4coyHN2BcqYhepP+5Xb2e6QUlw9MpJjnOBun vpnw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=AizmEGLJWCh5e+BIl/5tzrCIJ5dIEIgB9BBqx3BLDyw=; b=O/7e+rA1ArclaDkXq1GEsRHSXZ5QelZUisG2nso9/RB8SJTgNO71/lcabS4x2gLbMj XHPVE1WzKi/8i5HKvbWk3vdIiF4Fm4iA23DUyL7P2ab7uSapkIeOiDHIsz71XdDpVwBV vRbhLD1WUgWRB8OosJNz0KbciQ8BxOQwneM8ilnPvONjv5ZT4HpDlq0tdvF+bPpmCXs0 w2dRq/Ki8Z/luJPtYh98YzOhDk0TaX7bAKIfhs5zlhDBJzFJt12y4s1yPx3e8MvIuRPL VDkhmGaM0X0aWYv6dO6ubBbsP84deNZhRmwZ+devlAbipthewlrTewHCeQklhsrRUEmO e16Q== X-Gm-Message-State: AOAM531Sl/QKvzcVBgAAbxm8gXG5U2bRaIQhRP/bTYEDrZP5+FtXjFOD Rx3BHSR2aBjGyPABHP6nX772Hg== X-Received: by 2002:a5d:6052:: with SMTP id j18mr4408374wrt.306.1603822328165; Tue, 27 Oct 2020 11:12:08 -0700 (PDT) Received: from localhost.localdomain (159.174.185.81.rev.sfr.net. [81.185.174.159]) by smtp.gmail.com with ESMTPSA id h206sm2801224wmf.47.2020.10.27.11.12.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Oct 2020 11:12:07 -0700 (PDT) From: Fabien Parent To: Dmitry Torokhov , Rob Herring , Matthias Brugger Cc: Fabien Parent , Rob Herring , linux-input@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v6 RESEND 2/3] dt-bindings: input: mtk-pmic-keys: add MT6392 binding definition Date: Tue, 27 Oct 2020 19:11:55 +0100 Message-Id: <20201027181157.862927-2-fparent@baylibre.com> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20201027181157.862927-1-fparent@baylibre.com> References: <20201027181157.862927-1-fparent@baylibre.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add the binding documentation of the mtk-pmic-keys for the MT6392 PMICs. Signed-off-by: Fabien Parent Reviewed-by: Rob Herring --- v6: * No changes v5: * rebased * Rename MT6397/MT6392/MT6323 into MT63XX to make it more readable when the list of support PMIC increase * Removed Reviewed-by from Rob Herring because of the new extra changes made to this patch * change the compatible for MT6392 to also contains MT6397 since MT6392 PMIC key driver is compatible with mt6397. v4: * Patch was previously sent separately but merge to this patch series since there is a hard dependency on the MFD patch. .../devicetree/bindings/input/mtk-pmic-keys.txt | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/Documentation/devicetree/bindings/input/mtk-pmic-keys.txt b/Documentation/devicetree/bindings/input/mtk-pmic-keys.txt index 535d92885372..71c82687ab92 100644 --- a/Documentation/devicetree/bindings/input/mtk-pmic-keys.txt +++ b/Documentation/devicetree/bindings/input/mtk-pmic-keys.txt @@ -1,15 +1,18 @@ -MediaTek MT6397/MT6323 PMIC Keys Device Driver +MediaTek MT63xx PMIC Keys Device Driver -There are two key functions provided by MT6397/MT6323 PMIC, pwrkey +There are two key functions provided by MT63xx PMIC, pwrkey and homekey. The key functions are defined as the subnode of the function -node provided by MT6397/MT6323 PMIC that is being defined as one kind +node provided by MT63xx PMIC that is being defined as one kind of Muti-Function Device (MFD) -For MT6397/MT6323 MFD bindings see: +For MT63xx MFD bindings see: Documentation/devicetree/bindings/mfd/mt6397.txt Required properties: -- compatible: "mediatek,mt6397-keys" or "mediatek,mt6323-keys" +- compatible: Should be one of: + - "mediatek,mt6323-keys" for MT6323 PMIC + - "mediatek,mt6392-keys", "mediatek,mt6397-keys" for MT6392 PMIC + - "mediatek,mt6397-keys" for MT6397 PMIC - linux,keycodes: See Documentation/devicetree/bindings/input/input.yaml Optional Properties: -- 2.28.0