Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp892120pxf; Wed, 7 Apr 2021 14:18:48 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxbe9K1RDR08QvywvY8MIKpzNuhTVcuYmEXULpl3xmfgpMIJLxReckKAarZxUMBtu6L7hbR X-Received: by 2002:a17:906:af91:: with SMTP id mj17mr5932805ejb.228.1617830327897; Wed, 07 Apr 2021 14:18:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617830327; cv=none; d=google.com; s=arc-20160816; b=auSbrMAprlP+UctkOarfz/yWxmY4yWeMH0sVOdXmEIeT94mVRX9FBeCHTkcOgaFRtO WUdr0fKZUfcuzkZdRl6i2fy+VIc2sGh1QubdsOa4jlNUZyMRk7t2Q9mhgGej2jSYSRZF A7SrFFIDpaoZACAOwvDlZhlYEZE+X48IUKU/8YJUNMJlkpw1za+miBHRzzEx8I8lR6fK 0UYPs4EayOQaaGTBSSUcYEEzG/zm9IQBx8UEP7UELM64VFMApVz+LYACveyCGf+5XzVP ghhJHyRYkDI8DjMWaK1+Cv6JsSaxHrunbnOMq9JyBylPv2j/lLpoOhChrgoO4LHcpd5H LhfA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:message-id:references:in-reply-to :subject:cc:to:from:date:content-transfer-encoding:mime-version :sender:dkim-signature; bh=JcwFyeJqWTt/6F4dr1wtb+EluQ2hrjm6hvh0P5VoiD4=; b=QpLO0oGVEKQoELvpLfZbZgogORt1QY1ihdJOrjBg+m7/l5GJToTWDJnevAmCqqkoyv 9Fg+eTZQengud0Fv8PzixsMA6K6WN1Sgm4DacIDzOC/DWV2lG6mInWHdvUkmc6qXVtyZ sefqzDcltf0HixwXYQEarwALvRrNQ/1ZwkhWSnt0sFcEGewxWifMdgDcdidejb3gHa66 1f/dd7R11STBBPfJWCu0nwSU5U9xRCII7LYg7UxYay7Ylk/BbtAov5okuwHWbHUFFoC5 NAi2n/oUFLXpjsD2cJHZIxbSGp3jn/DWXTAIs18nsGWYwfxJZZpWLBVngNi0bB+HdjdE 9IxQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mg.codeaurora.org header.s=smtp header.b=Q0iZRA1H; 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 ox5si725066ejb.324.2021.04.07.14.18.24; Wed, 07 Apr 2021 14:18:47 -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=@mg.codeaurora.org header.s=smtp header.b=Q0iZRA1H; 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 S1353571AbhDGPaH (ORCPT + 99 others); Wed, 7 Apr 2021 11:30:07 -0400 Received: from m43-7.mailgun.net ([69.72.43.7]:57431 "EHLO m43-7.mailgun.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1353563AbhDGPaB (ORCPT ); Wed, 7 Apr 2021 11:30:01 -0400 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1617809391; h=Message-ID: References: In-Reply-To: Subject: Cc: To: From: Date: Content-Transfer-Encoding: Content-Type: MIME-Version: Sender; bh=JcwFyeJqWTt/6F4dr1wtb+EluQ2hrjm6hvh0P5VoiD4=; b=Q0iZRA1Hdv6zkYdiAzdJ1TxB5Wm1kNvAiQIidcQygPmTRN9RxAUBdaiWbToSgeRkS72grdVu UyiRRWN6TgQBkHA7J0gCQK0ztHdZv33g4hYHwE7LMkNrCx21l9WTEkkwNWt4CNRu5F27Vkny LrBQwgXtxRES3HOfQdQ9Ot+/+WI= X-Mailgun-Sending-Ip: 69.72.43.7 X-Mailgun-Sid: WyI0MWYwYSIsICJsaW51eC1rZXJuZWxAdmdlci5rZXJuZWwub3JnIiwgImJlOWU0YSJd Received: from smtp.codeaurora.org (ec2-35-166-182-171.us-west-2.compute.amazonaws.com [35.166.182.171]) by smtp-out-n03.prod.us-east-1.postgun.com with SMTP id 606dcfe403cfff3452ce78cd (version=TLS1.2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256); Wed, 07 Apr 2021 15:29:40 GMT Sender: skakit=codeaurora.org@mg.codeaurora.org Received: by smtp.codeaurora.org (Postfix, from userid 1001) id CC458C43468; Wed, 7 Apr 2021 15:29:39 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-caf-mail-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=ALL_TRUSTED,BAYES_00, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.codeaurora.org (localhost.localdomain [127.0.0.1]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: skakit) by smtp.codeaurora.org (Postfix) with ESMTPSA id 19DDEC43465; Wed, 7 Apr 2021 15:29:39 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Wed, 07 Apr 2021 20:59:39 +0530 From: skakit@codeaurora.org To: Dmitry Torokhov , Rob Herring , Andy Gross , Bjorn Andersson Cc: David Collins , kgunda@codeaurora.org, linux-input@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org Subject: Re: [PATCH 1/3] input: pm8941-pwrkey: add support for PMK8350 PON_HLOS PMIC peripheral In-Reply-To: <1614922721-1390-2-git-send-email-skakit@codeaurora.org> References: <1614922721-1390-1-git-send-email-skakit@codeaurora.org> <1614922721-1390-2-git-send-email-skakit@codeaurora.org> Message-ID: <690456c09c433741900643eafad25beb@codeaurora.org> X-Sender: skakit@codeaurora.org User-Agent: Roundcube Webmail/1.3.9 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Gentle Reminder! Thanks, Satya Priya On 2021-03-05 11:08, satya priya wrote: > From: David Collins > > On Qualcomm Technologies, Inc. PMIC PMK8350, the PON peripheral > is split into two peripherals: PON_HLOS and PON_PBS. The > application processor only has write access to PON_HLOS which > limits it to only receiving PON interrupts. > > Add support for the PMK8350 PON_HLOS peripheral so that its > KPDPWR_N and RESIN_N interrupts can be used to detect key > presses. > > Signed-off-by: David Collins > Signed-off-by: satya priya > --- > drivers/input/misc/pm8941-pwrkey.c | 103 > ++++++++++++++++++++++++++----------- > 1 file changed, 72 insertions(+), 31 deletions(-) > > diff --git a/drivers/input/misc/pm8941-pwrkey.c > b/drivers/input/misc/pm8941-pwrkey.c > index cf81044..2044d187 100644 > --- a/drivers/input/misc/pm8941-pwrkey.c > +++ b/drivers/input/misc/pm8941-pwrkey.c