rtc-max8997.c (dca3a783400a18e2bf4503b1d4a85c4d0ca1a7e4) | rtc-max8997.c (a895d57da04a4a24cda996e1a72425ff7e7e6c22) |
---|---|
1/* 2 * RTC driver for Maxim MAX8997 3 * 4 * Copyright (C) 2013 Samsung Electronics Co.Ltd 5 * 6 * based on rtc-max8998.c 7 * 8 * This program is free software; you can redistribute it and/or modify it --- 10 unchanged lines hidden (view full) --- 19#include <linux/module.h> 20#include <linux/platform_device.h> 21#include <linux/mfd/max8997-private.h> 22#include <linux/irqdomain.h> 23 24/* Module parameter for WTSR function control */ 25static int wtsr_en = 1; 26module_param(wtsr_en, int, 0444); | 1/* 2 * RTC driver for Maxim MAX8997 3 * 4 * Copyright (C) 2013 Samsung Electronics Co.Ltd 5 * 6 * based on rtc-max8998.c 7 * 8 * This program is free software; you can redistribute it and/or modify it --- 10 unchanged lines hidden (view full) --- 19#include <linux/module.h> 20#include <linux/platform_device.h> 21#include <linux/mfd/max8997-private.h> 22#include <linux/irqdomain.h> 23 24/* Module parameter for WTSR function control */ 25static int wtsr_en = 1; 26module_param(wtsr_en, int, 0444); |
27MODULE_PARM_DESC(wtsr_en, "Wachdog Timeout & Sofware Reset (default=on)"); | 27MODULE_PARM_DESC(wtsr_en, "Watchdog Timeout & Software Reset (default=on)"); |
28/* Module parameter for SMPL function control */ 29static int smpl_en = 1; 30module_param(smpl_en, int, 0444); 31MODULE_PARM_DESC(smpl_en, "Sudden Momentary Power Loss (default=on)"); 32 33/* RTC Control Register */ 34#define BCD_EN_SHIFT 0 35#define BCD_EN_MASK (1 << BCD_EN_SHIFT) --- 517 unchanged lines hidden --- | 28/* Module parameter for SMPL function control */ 29static int smpl_en = 1; 30module_param(smpl_en, int, 0444); 31MODULE_PARM_DESC(smpl_en, "Sudden Momentary Power Loss (default=on)"); 32 33/* RTC Control Register */ 34#define BCD_EN_SHIFT 0 35#define BCD_EN_MASK (1 << BCD_EN_SHIFT) --- 517 unchanged lines hidden --- |