Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3b85b818 authored by Pavankumar Kondeti's avatar Pavankumar Kondeti
Browse files

board: 8226: add AUXDATA for SMSC HUB device



AUXDATA should be passed to update HSIC device name. This
is required for getting clock resources and userspace apps
that uses device name for proper functioning. In case of
HSIC connection using SMSC HUB, HSIC host is added as a
child node of SMSC HUB. Hence, pass auxdata for SMSC_HUB
which points to the child node's (HSIC_HOST) auxdata.

Change-Id: I320bc367c07957719c24296ded625f25fea7c837
Signed-off-by: default avatarPavankumar Kondeti <pkondeti@codeaurora.org>
parent 690a5a33
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -54,6 +54,11 @@
#include "pm.h"
#include "spm-regulator.h"

static struct of_dev_auxdata msm_hsic_host_adata[] = {
	OF_DEV_AUXDATA("qcom,hsic-host", 0xF9A00000, "msm_hsic_host", NULL),
	{}
};

static struct of_dev_auxdata msm8226_auxdata_lookup[] __initdata = {
	OF_DEV_AUXDATA("qcom,msm-sdcc", 0xF9824000, \
			"msm_sdcc.1", NULL),
@@ -68,6 +73,8 @@ static struct of_dev_auxdata msm8226_auxdata_lookup[] __initdata = {
	OF_DEV_AUXDATA("qcom,sdhci-msm", 0xF9864900, \
			"msm_sdcc.3", NULL),
	OF_DEV_AUXDATA("qcom,hsic-host", 0xF9A00000, "msm_hsic_host", NULL),
	OF_DEV_AUXDATA("qcom,hsic-smsc-hub", 0, "msm_smsc_hub",
			msm_hsic_host_adata),

	{}
};