Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp537203pxf; Thu, 11 Mar 2021 09:02:04 -0800 (PST) X-Google-Smtp-Source: ABdhPJzsxhdAaen9cDPFiYLfpK3012XYb/f/TyM2tLSOYVD3yHKjPygxspgyNzMRJab9abwW6nf7 X-Received: by 2002:a17:907:77d4:: with SMTP id kz20mr4016752ejc.93.1615482124118; Thu, 11 Mar 2021 09:02:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1615482124; cv=none; d=google.com; s=arc-20160816; b=lIw0tIErqBL3wUL6XgadiHi8kEz5sRej0bfvG2qRudVqb7/H34Z8+5vqIj5QOsPV35 srI2E2G0LTWPKeaXIoi9jz+pTLSPH9x+taNrI5VwnH5GCMTQMuz3hqWpweo271mk46Z9 qnnQ6jMBPvI346DOnlLwesvIKqoipFpjVBaELbkuI+rfvm/6V6bHsRbjoPsXRQBwtqLM QXY9Nu8FTjRo47fRGV4ijk5SfhFNbq7IXNK2vJg9kp32BfrNqgRPhmQdG7g1ImyW2q9b dnXAYqxN248/L/W9Egq6N4PP2SQVUFBUzFTr9IjBiKWLcT6eYzCa7H8WoUm1GL8Dvabc HTwQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=opGBE+10vyFaw9yXptg7nxWBvuTnyAQM8hdaMx9w63c=; b=qXlcnrHGsZcxb87sAeOOoZ13+6KE59bhSSNNIH6LvBaxOSJCZX7c3Ax+LiKGLdkwEW NDSIWptvVTkrAWENzslPquU+GxBT02c2RMWRcxroXdGh9i8RXqgptqwxSlAcwUCLUjeJ Sik7IiEW3wRgVKR2/xhymqv0lxspYi77+1IubRP08fTGwoZZjvz4v88/mDrP7gjfUAxK 9N49/tquMb9iT368Jo744RbpXcQMycxXx/4LU03CXfA73hAvQsC0tDehMQAmxCCA1R/f ib/qXeCWsYJOx7Nrf3cbBb9gmZJ/q1PIG73PQ8MmPU2oixUBJAxX41ypD2UPT+Vo+Jc4 3hbQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=brsWF+hh; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id o22si2190427eje.560.2021.03.11.09.01.30; Thu, 11 Mar 2021 09:02:04 -0800 (PST) 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=@linaro.org header.s=google header.b=brsWF+hh; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229710AbhCKRAd (ORCPT + 99 others); Thu, 11 Mar 2021 12:00:33 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35580 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230025AbhCKRAU (ORCPT ); Thu, 11 Mar 2021 12:00:20 -0500 Received: from mail-ot1-x32c.google.com (mail-ot1-x32c.google.com [IPv6:2607:f8b0:4864:20::32c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 859DCC061574 for ; Thu, 11 Mar 2021 09:00:20 -0800 (PST) Received: by mail-ot1-x32c.google.com with SMTP id b8so2109768oti.7 for ; Thu, 11 Mar 2021 09:00:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=opGBE+10vyFaw9yXptg7nxWBvuTnyAQM8hdaMx9w63c=; b=brsWF+hhAjGXFFBDF/+wE9hkQEfxCxVG9WwxUYGy0YrIruOCy/gpJr1OTPPPQp6TFX pimPD/7tOSiiErUv0ZHaOzqZH7N17QLIqjEbQMh4YjgkVe7i4GfcXScqpisWEe51wGCe szgDZvd8S2j6aEQ3W+xcFs9PlC0JkJtK0t0Geq/Y/lE0LVyzwrTtZwcs/uEwrwBXEYZn awU/zYxTi79Hyp5BOftlNMELaOgbldq3DXkUuVd3wmUxmuAGyZFr2hXDw3S0rO0EWKFT OPmXNgmIbZ2CTq0FjvRIRA47m7fmieCHb3QtXRy4le1tr0A78eyFwC2WArzrTwcdTx0N 2/3g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=opGBE+10vyFaw9yXptg7nxWBvuTnyAQM8hdaMx9w63c=; b=nIDvJn8VrlaIg87xg5EMZBC3RWNxPP6cEGMYWFuck/cIhM9b3wO3SMv84esnzpCd0p +4HqqckuNT/V6cCamDZegOkjBItg69iuejwKOuKwKvTltUb8S5ywOb05o4qolgNVxiPH RXDUlL3SLgs0ouPuTLhoNs0Va/Xb8sjoRy/CXiHNeJju+vrI/8zNj41jDOcUjjnvvgvr ljjzKSWoCMhJL0CnsXw/VZbNPD6X8pwq1VdhRSCCvYE4YvOX3rFW8fR8pAG2dcS5DNfU xkRVB7pu9EQtgdIgDKYYLp7nX4z9fwbHBB1U043CmiAjeQaJwX9JxmqwsKiy54hIMn0M 1INQ== X-Gm-Message-State: AOAM533+dvDjHPAGmwtbZwLLVjBSl+S5+CuGM+xYyHJcER6hkrDC5xgs E7xWBfNKG+Gf2PSUeJneyEK+nA== X-Received: by 2002:a9d:7f1a:: with SMTP id j26mr7543565otq.244.1615482019502; Thu, 11 Mar 2021 09:00:19 -0800 (PST) Received: from builder.lan (104-57-184-186.lightspeed.austtx.sbcglobal.net. [104.57.184.186]) by smtp.gmail.com with ESMTPSA id k9sm757214ots.24.2021.03.11.09.00.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Mar 2021 09:00:18 -0800 (PST) Date: Thu, 11 Mar 2021 11:00:16 -0600 From: Bjorn Andersson To: satya priya Cc: Alessandro Zummo , Alexandre Belloni , Rob Herring , Andy Gross , Lee Jones , linux-rtc@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, kgunda@codeaurora.org Subject: Re: [PATCH 1/3] rtc: pm8xxx: Add RTC support for PMIC PMK8350 Message-ID: References: <1615447798-6959-1-git-send-email-skakit@codeaurora.org> <1615447798-6959-2-git-send-email-skakit@codeaurora.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1615447798-6959-2-git-send-email-skakit@codeaurora.org> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu 11 Mar 01:29 CST 2021, satya priya wrote: > Add the comaptible string for PMIC PMK8350. > Reviewed-by: Bjorn Andersson Regards, Bjorn > Signed-off-by: satya priya > --- > drivers/rtc/rtc-pm8xxx.c | 11 +++++++++++ > 1 file changed, 11 insertions(+) > > diff --git a/drivers/rtc/rtc-pm8xxx.c b/drivers/rtc/rtc-pm8xxx.c > index eb20659..29a1c65 100644 > --- a/drivers/rtc/rtc-pm8xxx.c > +++ b/drivers/rtc/rtc-pm8xxx.c > @@ -445,6 +445,16 @@ static const struct pm8xxx_rtc_regs pm8941_regs = { > .alarm_en = BIT(7), > }; > > +static const struct pm8xxx_rtc_regs pmk8350_regs = { > + .ctrl = 0x6146, > + .write = 0x6140, > + .read = 0x6148, > + .alarm_rw = 0x6240, > + .alarm_ctrl = 0x6246, > + .alarm_ctrl2 = 0x6248, > + .alarm_en = BIT(7), > +}; > + > /* > * Hardcoded RTC bases until IORESOURCE_REG mapping is figured out > */ > @@ -453,6 +463,7 @@ static const struct of_device_id pm8xxx_id_table[] = { > { .compatible = "qcom,pm8018-rtc", .data = &pm8921_regs }, > { .compatible = "qcom,pm8058-rtc", .data = &pm8058_regs }, > { .compatible = "qcom,pm8941-rtc", .data = &pm8941_regs }, > + { .compatible = "qcom,pmk8350-rtc", .data = &pmk8350_regs }, > { }, > }; > MODULE_DEVICE_TABLE(of, pm8xxx_id_table); > -- > QUALCOMM INDIA, on behalf of Qualcomm Innovation Center, Inc. is a member > of Code Aurora Forum, hosted by The Linux Foundation >