Rail-Specific Parameters

Rail-specific parameters take the following format:

  • The rail specific commands are divided into blocks.
  • Each rail can have one or more blocks. Each block of given rails are indexed starting from 0.
  • Each block contains either MMIO or I2C commands. If both MMIO and I2C commands are required then commands are broken into multiple blocks.
  • If block contains I2C type of commands then all commands are sent to same device. If it is require having i2c commands for multiple devices then it needs to split into multiple blocks.
  • If commands on given blocks are I2C type the device address, register address size, register data size are parameters which is not needed for MMIO commands.
  • Given block can contain more than one commands but all commands are same type.
  • Delay is provided after each commands of a given blocks. The delay are same for all commands. If different delay are required then it need to split into multiple blocks.

The details for each paramater are as follows:

Parameter

Description

pmic.<rail-name>.<rail-id>

Specifies the rail specific parameters prefixes.

pmic.<rail-name>.<rail-id>.block-count = <value>;

Specifies the block count.

Where <value> for the block count is the number of command blocks for a given rail.

pmic.<rail-name>.<rail-id>.block[index]

Specifies the block identification, where all blocks are indexed, starting from 0.

type

Specifies the command type. Available types include:

  • MMIO (0)
  • I2C (1)

delay

Specifies the delay, in microseconds, after each command in a given block.

count

Specifies the number of commands in a block.