Lines Matching +full:2 +full:x32 +full:- +full:bit

1 /* SPDX-License-Identifier: GPL-2.0-only */
7 * Author: Chris Zhong <zyw@rock-chips.com>
8 * Author: Zhang Qing <zhangqing@rock-chips.com>
84 #define RK808_BUCK2_CONFIG_REG 0x32
155 #define RK818_BUCK2_CONFIG_REG 0x32
195 #define RK818_H5V_EN BIT(0)
196 #define RK818_REF_RDY_CTRL BIT(1)
227 #define RK805_BUCK2_CONFIG_REG 0x32
260 #define RK805_IRQ_PWRON 2
267 #define RK805_IRQ_PWRON_RISE_MSK BIT(0)
268 #define RK805_IRQ_VB_LOW_MSK BIT(1)
269 #define RK805_IRQ_PWRON_MSK BIT(2)
270 #define RK805_IRQ_PWRON_LP_MSK BIT(3)
271 #define RK805_IRQ_HOTDIE_MSK BIT(4)
272 #define RK805_IRQ_RTC_ALARM_MSK BIT(5)
273 #define RK805_IRQ_RTC_PERIOD_MSK BIT(6)
274 #define RK805_IRQ_PWRON_FALL_MSK BIT(7)
276 #define RK805_PWR_RISE_INT_STATUS BIT(0)
277 #define RK805_VB_LOW_INT_STATUS BIT(1)
278 #define RK805_PWRON_INT_STATUS BIT(2)
279 #define RK805_PWRON_LP_INT_STATUS BIT(3)
280 #define RK805_HOTDIE_INT_STATUS BIT(4)
281 #define RK805_ALARM_INT_STATUS BIT(5)
282 #define RK805_PERIOD_INT_STATUS BIT(6)
283 #define RK805_PWR_FALL_INT_STATUS BIT(7)
290 #define RK805_INT_TIMER_EN (1 << 2)
295 #define RK808_IRQ_PWRON 2
304 #define RK808_IRQ_VOUT_LO_MSK BIT(0)
305 #define RK808_IRQ_VB_LO_MSK BIT(1)
306 #define RK808_IRQ_PWRON_MSK BIT(2)
307 #define RK808_IRQ_PWRON_LP_MSK BIT(3)
308 #define RK808_IRQ_HOTDIE_MSK BIT(4)
309 #define RK808_IRQ_RTC_ALARM_MSK BIT(5)
310 #define RK808_IRQ_RTC_PERIOD_MSK BIT(6)
311 #define RK808_IRQ_PLUG_IN_INT_MSK BIT(0)
312 #define RK808_IRQ_PLUG_OUT_INT_MSK BIT(1)
317 #define RK818_IRQ_PWRON 2
332 #define RK818_IRQ_VOUT_LO_MSK BIT(0)
333 #define RK818_IRQ_VB_LO_MSK BIT(1)
334 #define RK818_IRQ_PWRON_MSK BIT(2)
335 #define RK818_IRQ_PWRON_LP_MSK BIT(3)
336 #define RK818_IRQ_HOTDIE_MSK BIT(4)
337 #define RK818_IRQ_RTC_ALARM_MSK BIT(5)
338 #define RK818_IRQ_RTC_PERIOD_MSK BIT(6)
339 #define RK818_IRQ_USB_OV_MSK BIT(7)
340 #define RK818_IRQ_PLUG_IN_MSK BIT(0)
341 #define RK818_IRQ_PLUG_OUT_MSK BIT(1)
342 #define RK818_IRQ_CHG_OK_MSK BIT(2)
343 #define RK818_IRQ_CHG_TE_MSK BIT(3)
344 #define RK818_IRQ_CHG_TS1_MSK BIT(4)
345 #define RK818_IRQ_TS2_MSK BIT(5)
346 #define RK818_IRQ_CHG_CVTLIM_MSK BIT(6)
347 #define RK818_IRQ_DISCHG_ILIM_MSK BIT(7)
373 #define SWITCH2_EN BIT(6)
374 #define SWITCH1_EN BIT(5)
375 #define DEV_OFF_RST BIT(3)
376 #define DEV_OFF BIT(0)
377 #define RTC_STOP BIT(0)
379 #define VB_LO_ACT BIT(4)
382 #define VOUT_LO_INT BIT(0)
383 #define CLK32KOUT2_EN BIT(0)
387 #define SLP_SD_MSK (0x3 << 2)
388 #define SHUTDOWN_FUN (0x2 << 2)
389 #define SLEEP_FUN (0x1 << 2)
391 #define PWM_MODE_MSK BIT(7)
392 #define FPWM_MODE BIT(7)
462 #define RK817_LDO_ON_VSEL_REG(idx) (0xcc + (idx) * 2)
486 #define RK817_IRQ_PWRON 2
514 #define RK817_RTC_CTRL_RSV4 BIT(4)
517 #define RK817_BUCK3_FB_RES_MSK BIT(6)
518 #define RK817_BUCK3_FB_RES_INTER BIT(6)
536 #define RK817_TSD_TEMP_MSK BIT(6)
538 #define RK817_TSD_160 BIT(6)
540 #define RK817_CLK32KOUT2_EN BIT(7)
555 #define RK817_SLPPOL_MSK BIT(5)
556 #define RK817_SLPPOL_H BIT(5)
560 #define RK817_INT_POL_MSK BIT(1)
561 #define RK817_INT_POL_H BIT(1)