Skip to content

Commit 279cac4

Browse files
pH5Samuel Ortiz
authored andcommitted
mfd: remove DS1WM register definitions from asic3.h
There is a dedicated ds1wm driver, no need to duplicate this information here. Signed-off-by: Philipp Zabel <philipp.zabel@gmail.com> Signed-off-by: Samuel Ortiz <sameo@openedhand.com>
1 parent 4a67b52 commit 279cac4

1 file changed

Lines changed: 3 additions & 35 deletions

File tree

‎include/linux/mfd/asic3.h‎

Lines changed: 3 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -265,44 +265,12 @@ struct asic3_platform_data {
265265
#define ASIC3_EXTCF_CF_SLEEP (1 << 15) /* CF sleep mode control */
266266

267267
/*********************************************
268-
* The Onewire interface registers
269-
*
270-
* OWM_CMD
271-
* OWM_DAT
272-
* OWM_INTR
273-
* OWM_INTEN
274-
* OWM_CLKDIV
268+
* The Onewire interface (DS1WM) is handled
269+
* by the ds1wm driver.
275270
*
276271
*********************************************/
277272

278-
#define ASIC3_OWM_Base 0xC00
279-
280-
#define ASIC3_OWM_CMD 0x00
281-
#define ASIC3_OWM_DAT 0x04
282-
#define ASIC3_OWM_INTR 0x08
283-
#define ASIC3_OWM_INTEN 0x0C
284-
#define ASIC3_OWM_CLKDIV 0x10
285-
286-
#define ASIC3_OWM_CMD_ONEWR (1 << 0)
287-
#define ASIC3_OWM_CMD_SRA (1 << 1)
288-
#define ASIC3_OWM_CMD_DQO (1 << 2)
289-
#define ASIC3_OWM_CMD_DQI (1 << 3)
290-
291-
#define ASIC3_OWM_INTR_PD (1 << 0)
292-
#define ASIC3_OWM_INTR_PDR (1 << 1)
293-
#define ASIC3_OWM_INTR_TBE (1 << 2)
294-
#define ASIC3_OWM_INTR_TEMP (1 << 3)
295-
#define ASIC3_OWM_INTR_RBF (1 << 4)
296-
297-
#define ASIC3_OWM_INTEN_EPD (1 << 0)
298-
#define ASIC3_OWM_INTEN_IAS (1 << 1)
299-
#define ASIC3_OWM_INTEN_ETBE (1 << 2)
300-
#define ASIC3_OWM_INTEN_ETMT (1 << 3)
301-
#define ASIC3_OWM_INTEN_ERBF (1 << 4)
302-
303-
#define ASIC3_OWM_CLKDIV_PRE (3 << 0) /* two bits wide at bit 0 */
304-
#define ASIC3_OWM_CLKDIV_DIV (7 << 2) /* 3 bits wide at bit 2 */
305-
273+
#define ASIC3_OWM_BASE 0xC00
306274

307275
/*****************************************************************************
308276
* The SD configuration registers are at a completely different location

0 commit comments

Comments
 (0)