microchip,xec-pwmbbled

Vendor: Microchip Technology Inc.

Note

An implementation of a driver matching this compatible is available in drivers/pwm/pwm_mchp_xec_bbled.c.

Description

Microchip XEC PWM using BBLED hardware

Properties

Properties not inherited from the base binding file.

Name

Type

Details

girqs

array

Array of pairs of GIRQ number and bit position

This property is required.

pcrs

array

BBLED PCR register index and bit position

This property is required.

clock-select

string

Clock source selection: 32 KHz is available in deep sleep.
- PWM_BBLED_CLK_AHB: Clock source is the PLL based AHB clock
- PWM_BBLED_CLK_32K: Clock source is the 32KHz domain

This property is required.

Legal values: 'PWM_BBLED_CLK_32K', 'PWM_BBLED_CLK_48M'

pinctrl-0

phandles

Pin configuration/s for the first state. Content is specific to the
selected pin controller driver implementation.

This property is required.

pinctrl-names

string-array

Names for the provided states. The number of names needs to match the
number of states.

This property is required.

#pwm-cells

int

Number of items to expect in a pwm specifier

This property is required.

Constant value: 3

enable-low-power-32k

boolean

BBLED has two clock inputs.
- Main system clock (48MHz)
- 32KHz Core clock (32.768KHz)
When BBLED enter into Suspend state, 48MHz clock will be switched off by
PCR(Power, Clock and Reset) block. But 32KHz Core clock will be available to BBLED.
There may be a product requirement, either to blink (or) not blink LED in Suspend state.
Property "enable-low-power-32k" shall be used along with 32KHz clock to blink (or) not blink
the LED in Suspend state.

pinctrl-1

phandles

Pin configuration/s for the second state. See pinctrl-0.

pinctrl-2

phandles

Pin configuration/s for the third state. See pinctrl-0.

pinctrl-3

phandles

Pin configuration/s for the fourth state. See pinctrl-0.

pinctrl-4

phandles

Pin configuration/s for the fifth state. See pinctrl-0.

Specifier cell names

  • pwm cells: channel, period, flags