mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
To: Fenglin Wu <fenglin.wu@oss.qualcomm.com>,
	linux-arm-msm@vger.kernel.org,
	Bjorn Andersson <andersson@kernel.org>,
	Konrad Dybcio <konradybcio@kernel.org>,
	Abel Vesa <abelvesa@kernel.org>,
	Alexandre Belloni <alexandre.belloni@bootlin.com>
Cc: David Collins <david.collins@oss.qualcomm.com>,
	Subbaraman Narayanamurthy
	<subbaraman.narayanamurthy@oss.qualcomm.com>,
	Kamal Wadhwa <kamal.wadhwa@oss.qualcomm.com>,
	linux-kernel@vger.kernel.org, linux-rtc@vger.kernel.org
Subject: Re: [PATCH v3 1/3] soc: qcom: Add pmic-gio GIO framework driver
Date: Thu, 3 Dec 2026 13:57:11 +0100	[thread overview]
Message-ID: <a538146a-b72d-4930-b223-3a9d470738f6@oss.qualcomm.com> (raw)
In-Reply-To: <20261118-gio-framework-rtc-driver-2026-10-12-v3-1-52d78a8f43ee@oss.qualcomm.com>

On 11/19/26 7:55 AM, Fenglin Wu wrote:
> Qualcomm SoCCP battery-management firmware on Glymur platform
> introduces a new interface which is called General I/O (GIO).
> It exposes functions through fixed-size register blocks grouped
> into virtual peripherals such as core, battery, USB-C, service,
> settings, debug, and OEM, etc. The data blocks must be accessed
> using block-aligned transactions. It also generates alert
> notifications which could be identified by a pair of peripheral
> and alert ID.
> 
> Add a transport-agnostic PMIC GIO framework that validates register
> accesses against the common GIO register definitions, and exposes the
> firmware register space through regmap using transport-provided read
> and write operations. The framework tracks transport availability
> and notify consumers when its state changes, and route alerts through
> a virtual IRQ domain while retaining their payload data. It also
> provides a group of managed helpers for registering GIO transports,
> state notifiers, IRQ mappings, and auxiliary consumer devices required
> by the transport and the consumer drivers.
> 
> Signed-off-by: Fenglin Wu <fenglin.wu@oss.qualcomm.com>
> ---
[...]


> +struct pmic_gio_irq {
> +	u8 peripheral_id;
> +	u8 alert_id;
> +};
> +
> +struct pmic_gio_irq_chip {
> +	const struct pmic_gio_irq *irqs;
> +	int num_irqs;
> +};

These can be private

Konrad

  parent reply	other threads:[~2026-12-03 12:57 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-19  6:55 [PATCH v3 0/3] soc: qcom: Add Qualcomm PMIC GIO framework and RTC driver using it Fenglin Wu
2026-11-19  6:55 ` [PATCH v3 1/3] soc: qcom: Add pmic-gio GIO framework driver Fenglin Wu
2026-12-03 12:54   ` Konrad Dybcio
2026-12-03 12:56   ` Konrad Dybcio
2026-12-03 12:57   ` Konrad Dybcio [this message]
2026-11-19  6:55 ` [PATCH v3 2/3] soc: qcom: pmic_glink: Add GIO pmic_glink instance Fenglin Wu
2026-12-03 12:59   ` Konrad Dybcio
2026-12-03 13:01   ` Konrad Dybcio
2026-11-19  6:55 ` [PATCH v3 3/3] rtc: Add Qualcomm GIO RTC driver Fenglin Wu
2026-12-03 13:07   ` Konrad Dybcio

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=a538146a-b72d-4930-b223-3a9d470738f6@oss.qualcomm.com \
    --to=konrad.dybcio@oss.qualcomm.com \
    --cc=abelvesa@kernel.org \
    --cc=alexandre.belloni@bootlin.com \
    --cc=andersson@kernel.org \
    --cc=david.collins@oss.qualcomm.com \
    --cc=fenglin.wu@oss.qualcomm.com \
    --cc=kamal.wadhwa@oss.qualcomm.com \
    --cc=konradybcio@kernel.org \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-rtc@vger.kernel.org \
    --cc=subbaraman.narayanamurthy@oss.qualcomm.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®