Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp3907832pxu; Mon, 12 Oct 2020 04:41:27 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwmUwlTZ/TcTRztxY4lyNxIxFjX2eINrDhawdXhB5nTlm9pG35DoW2H3n/NY5zm4KzCA+Fx X-Received: by 2002:a17:906:1644:: with SMTP id n4mr28746646ejd.332.1602502886918; Mon, 12 Oct 2020 04:41:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1602502886; cv=none; d=google.com; s=arc-20160816; b=KthuJoqmhlkOJcQMeE3VU22+It+rdEuDmJYU105Rr8yazTL4pC0aZ+QNfRzrkj2gsk V3NqLvdjV+kGkF1E6AyW0dTzYYdhm+EMjm1umySHfYk1zvRV5Xzl+aDn3MuxzV5x3G7l qM9MjEX/d/VEnuA+ch7I1yxoeLh5LUXKW+37dPxXrRLrMwGej7aMsBjPzGdw/sQ8maTA a6orXntpY+AjYR/QBKCzoISvuK+YElC8/j5kGFnAcqel7/UEUhKadnps+S/2WXWgkb+V BCvEVsmvmMtqQ7fvEFdcUO7Fo8nYBVixPj7uKylpAsQ2roUFaeoWC18dKvWTAdvB/lXN eNpQ== 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=lGBzcd5FmDB/mZHtDhovV1q77wcTyH2x/STfJnKATaNtw6or8bpfZZzMjyAdZ0V3mG 4+qUKjYbOfAdmbxl6w+OUBVfSgeqnkkK0kxYPPwsj6oQDGd5BbOJaDezHKsyPNkjq/DX DynREFAMp0mg2Z49SzZ2q25HL8xrlHrn6QIJikijj2q9+UJm/4caOcO/mFfoZe5uhbS8 XkdFqofzPQ/ELLP6OLw2zQyI2wuLSbRVwdmIt7HjqPvRQj7KRtdqY1tdPX4NGce4qidp QKNhARDG58DQygyAuuTHQ4W6VabM4jEnC6vS9x+T6rTcKX01zrTDLCnrQ1i4P9ePCwAK 9cIg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=0qmWSBxE; 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 ci22si11876655ejc.413.2020.10.12.04.41.02; Mon, 12 Oct 2020 04:41:26 -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=0qmWSBxE; 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 S2388292AbgJLLjG (ORCPT + 99 others); Mon, 12 Oct 2020 07:39:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40442 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388289AbgJLLjD (ORCPT ); Mon, 12 Oct 2020 07:39:03 -0400 Received: from mail-wm1-x341.google.com (mail-wm1-x341.google.com [IPv6:2a00:1450:4864:20::341]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 127FEC0613D6 for ; Mon, 12 Oct 2020 04:38:58 -0700 (PDT) Received: by mail-wm1-x341.google.com with SMTP id f21so16881794wml.3 for ; Mon, 12 Oct 2020 04:38:58 -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=0qmWSBxEbq35KurZTOsOhck3qTnnnOHUBmvQCN3yCNiwPxRpua2FZOxJKkZtJr8Tdl s+jM0s3YJE8/WServiwBPovX2q/PyHCKWFjRpcNF5DvBBNEEhUkUaxZ2J98D2l+VFjXw wm9iszb90LKGBzEyPGMWA+jOcptEtN8rj2Z0b43VAlif4tmF9bGPNtSBUnQkr17QpU8D WiqKPpohjr1wRnc/KxN105r8k/0GbhTPQvGnqPMv9qgDxDewvykK8UDF/UyPYYA7hrtC ca9JqBx3wIGuxtRxq5bIu3NJ9RI2Xd6awIXk3+5isloa933zApn/57ZrRdqO2wIjyPd0 pXVw== 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=fCCvYsm72QdBGm9ogr0UePA5A4kGX9lYxkbAgOSTXVzPX6s2oLI8Eu3/flg9Nirl/4 4Q6xnvkvfPqBjXCDQ6+JnDqu2a9VrTwS4MDa0Igubp2axxPVTiqH7Aysyjh35eEaW465 5wSZqNM47WEKVfBioHxJhmQU/C08LQo7eth2E3r/Jc315WmYuwBDOsLw0nuC6Ev0oKN3 1ANiqcLXRxgtI+k50qhwQeT3WKuL7y3NHaeth0ji6CsVNo36PcfvUYD5HdmSFBxv4iwA mvbOTWzd4uwGbWhN3l4V3/kGsO7SWycqTLzHiekJj6BGtpKclcpzCxlupokh4P9YU//l DIKA== X-Gm-Message-State: AOAM5310gfoGSrfXR9+SQdWAXDjeouBVpc3zEfgMy3uEiEifor6OpkEy g0hhdabSgUIHY8V447VBR3IkKsqNXAiFHQ== X-Received: by 2002:a1c:bb06:: with SMTP id l6mr10907219wmf.40.1602502736377; Mon, 12 Oct 2020 04:38:56 -0700 (PDT) Received: from localhost.localdomain (170.175.185.81.rev.sfr.net. [81.185.175.170]) by smtp.gmail.com with ESMTPSA id o194sm22378065wme.24.2020.10.12.04.38.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 12 Oct 2020 04:38:55 -0700 (PDT) From: Fabien Parent To: linux-kernel@vger.kernel.org, linux-mediatek@lists.infradead.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-input@vger.kernel.org, matthias.bgg@gmail.com Cc: hsin-hsiung.wang@mediatek.com, lee.jones@linaro.org, robh+dt@kernel.org, dmitry.torokhov@gmail.com, Fabien Parent , Rob Herring Subject: [PATCH v6 2/3] dt-bindings: input: mtk-pmic-keys: add MT6392 binding definition Date: Mon, 12 Oct 2020 13:38:39 +0200 Message-Id: <20201012113840.396358-2-fparent@baylibre.com> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20201012113840.396358-1-fparent@baylibre.com> References: <20201012113840.396358-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