• Bing Zhao's avatar
    Bluetooth: btmrvl: use cal-data from device-tree instead of conf file · 433a9389
    Bing Zhao authored
    Some ARM versions of Chromebook need to download a new calibration
    data from host driver to firmware. They do have EEPROM but still
    need a piece of new calibration data in test mode.
    
    The cal-data is platform dependent. It's simpler and more feasible
    to use device tree based cal-data instead of configuration file
    based cal-data.
    
    This patch remove configuration file based cal-data downloading
    and replace it using cal-data from device tree.
    
    When CONFIG_OF is not selected, or the specific property is not
    present in the device tree, the calibration downloading will not
    happen.
    
    Cc: Mike Frysinger <vapier@chromium.org>
    Cc: Amitkumar Karwar <akarwar@marvell.com>
    Signed-off-by: default avatarBing Zhao <bzhao@marvell.com>
    Signed-off-by: default avatarHyuckjoo Lee <hyuckjoo.lee@samsung.com>
    Signed-off-by: default avatarMarcel Holtmann <marcel@holtmann.org>
    433a9389
btmrvl_sdio.h 2.97 KB