ENUM K230_RST_TYPE(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ enum k230_rst_type(9) ✨

okay so bestie, welcome to the Kernel API Manual πŸ’… we're talking about enum k230_rst_type and honestly? it's giving "small but iconic." let's get into it πŸŽ€


🌸 NAME 🌸

enum k230_rst_type β€” the K230 reset types, aka the whole vibe check for how resets behave on this chip πŸ‘‘


πŸ¦‹ SYNOPSIS πŸ¦‹

enum k230_rst_type {
    RST_TYPE_CPU0 ,
    RST_TYPE_CPU1 ,
    RST_TYPE_FLUSH ,
    RST_TYPE_HW_DONE ,
    RST_TYPE_SW_DONE

};

literally the entire enum, no notes πŸ’–


⭐ Constants ⭐

okay this is the part where you actually need to pay attention, bestie, because each one of these has its own whole personality 🫢

  • RST_TYPE_CPU0 β€” the reset type for CPU0. it automatically clears, and it's got a write enable and a done bit, and it's active high. so iconic of it ✨
  • RST_TYPE_CPU1 β€” reset type for CPU1. this one manually clears (not like its sibling, periodt), and it has a write enable and a done bit, active high πŸ’«
  • RST_TYPE_FLUSH β€” reset type for the CPU L2 cache flush. automatically clears, has a write enable, but no done bit β€” and it's active high. lowkey the minimal one of the group 🧚
  • RST_TYPE_HW_DONE β€” reset type for hardware auto clear. automatically clears, no write enable, but it does have a done bit, active high. it's giving "done bit main character energy" πŸ‘‘
  • RST_TYPE_SW_DONE β€” reset type for software manual clear. manually clears, and here's the moment β€” it has no write enable and no done bit. and the polarity? active high if the ID is RST_SPI2AXI, otherwise active low. yes bestie, conditional polarity, we love a plot twist 😭
fr fr do not sleep on that last one β€” the RST_SPI2AXI condition is the whole thing. miss it and you're gonna have a bad time πŸ’€

πŸ”₯ SEE ALSO πŸ”₯

  • Kernel file ./drivers/reset/reset-k230.c β€” go read it, that's where all this lives πŸ“

and that's the page!! no cap, you now know your reset types better than most people 🌈

signed off with love from ./drivers/reset, dated October 2026 πŸŽ€πŸ’œβœ¨

πŸ“¦ where this page comes from