Skip to content

mfd: macsmc: Add T6050 profile and described pcIO outputs - #247

Closed
DjDeveloperr wants to merge 1 commit into
apif-pmu-rtcfrom
apif-smc
Closed

DjDeveloperr wants to merge 1 commit into
apif-pmu-rtcfrom
apif-smc

Conversation

@DjDeveloperr

Copy link
Copy Markdown
Contributor

Add the T6050 SMC notification/hwmon profile and a DT-described pcIO output GPIO provider. Each GPIO uses a unique eight-byte command template supplied by the boot producer, with its low 16 bits reserved for the boolean output value. The driver checks the key's size/write capability, validates templates before registration, and rejects short writes. Readback is explicitly unsupported.

Register the pcIO child only when described in DT, on any matched SMC. Keep the inherited GPIO implementations and newer notification cleanup intact. The T6050 profile does not instantiate unqualified power/reboot/RTC functions or import the private temperature-discovery logger.

Validation: native arm64 SMC/GPIO driver objects, new/updated binding validation and whitespace checks passed. Firmware notification and output behavior still need hardware qualification of this cleaned series. No GPU changes.

Stacked on #246 for review ordering; the SMC driver itself does not depend on the new RTC driver.

Expose notifications and described hwmon inputs on T6050. Register the
pcIO GPIO provider only where DT supplies unique command templates, and
validate the writable key and complete eight-byte writes.

Preserve existing GPIO implementations and newer notification cleanup.
Do not instantiate unqualified T6050 power, reboot or RTC functions.

Signed-off-by: Dj <hey@djdev.me>
@DjDeveloperr

Copy link
Copy Markdown
Contributor Author

Superseded by #479, refreshed from the current T6050 source onto Linux 7.3 integration. The new shared base is #472; all feature PRs now target t6050/base. Closing this stale chained version and keeping its branch for history.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant