Skip to contentSkip to conversation

device tree support for MMC host OCR mask

DISCUSSION Barak Wasserstrom 1 participant 1 message Jan 24, 2013 1 message not in the archive MMC, SD and SDIO

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): S1751919Ab3AXRe0/[email protected]

#1 lore raw

Hi,
Is there a standard support for providing the MMC host OCR mask in the device tree structure?
I'm using ARM PrimeCell PL180/181 Multimedia Card Interface driver. In 'mmci_dt_populate_generic_pdata' I cannot see any evidence for parsing oct mask.
I wonder if I can just add to the function:
of_property_read_u32(np, "ocr-mask", &pdata->ocr_mask);

Regards,
Barak