Skip to content

Commit 96fea17

Browse files
committed
2 parents 467bfe0 + b419e15 commit 96fea17

6 files changed

Lines changed: 12 additions & 12 deletions

File tree

arch/arm64/boot/dts/hisilicon/hi3660.dtsi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1057,7 +1057,7 @@
10571057
};
10581058

10591059
/* SD */
1060-
dwmmc1: dwmmc1@ff37f000 {
1060+
dwmmc1: mmc@ff37f000 {
10611061
compatible = "hisilicon,hi3660-dw-mshc";
10621062
reg = <0x0 0xff37f000 0x0 0x1000>;
10631063
#address-cells = <1>;
@@ -1075,7 +1075,7 @@
10751075
};
10761076

10771077
/* SDIO */
1078-
dwmmc2: dwmmc2@ff3ff000 {
1078+
dwmmc2: mmc@ff3ff000 {
10791079
compatible = "hisilicon,hi3660-dw-mshc";
10801080
reg = <0x0 0xff3ff000 0x0 0x1000>;
10811081
#address-cells = <0x1>;

arch/arm64/boot/dts/hisilicon/hi3670.dtsi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -679,7 +679,7 @@
679679
};
680680

681681
/* SD */
682-
dwmmc1: dwmmc1@ff37f000 {
682+
dwmmc1: mmc@ff37f000 {
683683
compatible = "hisilicon,hi3670-dw-mshc",
684684
"hisilicon,hi3660-dw-mshc";
685685
reg = <0x0 0xff37f000 0x0 0x1000>;
@@ -698,7 +698,7 @@
698698
};
699699

700700
/* SDIO */
701-
dwmmc2: dwmmc2@fc183000 {
701+
dwmmc2: mmc@fc183000 {
702702
compatible = "hisilicon,hi3670-dw-mshc",
703703
"hisilicon,hi3660-dw-mshc";
704704
reg = <0x0 0xfc183000 0x0 0x1000>;

arch/arm64/boot/dts/hisilicon/hi3798cv200-poplar.dts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@
179179
};
180180

181181
&pcie {
182-
reset-gpios = <&gpio4 4 GPIO_ACTIVE_HIGH>;
182+
reset-gpios = <&gpio4 4 GPIO_ACTIVE_LOW>;
183183
vpcie-supply = <&reg_pcie>;
184184
status = "okay";
185185
};

arch/arm64/boot/dts/hisilicon/hi3798cv200.dtsi

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,7 @@
122122
#address-cells = <1>;
123123
#size-cells = <1>;
124124
ranges = <0x0 0x0 0xf0000000 0x10000000>;
125+
dma-ranges = <0x0 0x0 0x0 0x40000000>;
125126

126127
crg: clock-reset-controller@8a22000 {
127128
compatible = "hisilicon,hi3798cv200-crg", "syscon", "simple-mfd";

arch/arm64/boot/dts/hisilicon/hi6220.dtsi

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -799,7 +799,7 @@
799799
#mbox-cells = <3>;
800800
};
801801

802-
dwmmc_0: dwmmc0@f723d000 {
802+
dwmmc_0: mmc@f723d000 {
803803
compatible = "hisilicon,hi6220-dw-mshc";
804804
reg = <0x0 0xf723d000 0x0 0x1000>;
805805
interrupts = <0x0 0x48 0x4>;
@@ -812,7 +812,7 @@
812812
&emmc_cfg_func &emmc_rst_cfg_func>;
813813
};
814814

815-
dwmmc_1: dwmmc1@f723e000 {
815+
dwmmc_1: mmc@f723e000 {
816816
compatible = "hisilicon,hi6220-dw-mshc";
817817
hisilicon,peripheral-syscon = <&ao_ctrl>;
818818
reg = <0x0 0xf723e000 0x0 0x1000>;
@@ -828,7 +828,7 @@
828828
pinctrl-1 = <&sd_pmx_idle &sd_clk_cfg_idle &sd_cfg_idle>;
829829
};
830830

831-
dwmmc_2: dwmmc2@f723f000 {
831+
dwmmc_2: mmc@f723f000 {
832832
compatible = "hisilicon,hi6220-dw-mshc";
833833
reg = <0x0 0xf723f000 0x0 0x1000>;
834834
interrupts = <0x0 0x4a 0x4>;

drivers/soc/hisilicon/kunpeng_hccs.c

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -961,7 +961,7 @@ static ssize_t link_fsm_show(struct kobject *kobj,
961961
struct hccs_link_status link_status = {0};
962962
const struct {
963963
u8 link_fsm;
964-
char *str;
964+
const char *str;
965965
} link_fsm_map[] = {
966966
{HCCS_PORT_RESET, "reset"},
967967
{HCCS_PORT_SETUP, "setup"},
@@ -1621,8 +1621,7 @@ static void hccs_remove_topo_dirs(struct hccs_dev *hdev)
16211621
hccs_remove_misc_sysfs(hdev);
16221622
}
16231623

1624-
static int hccs_create_hccs_dir(struct hccs_dev *hdev,
1625-
struct hccs_die_info *die,
1624+
static int hccs_create_hccs_dir(struct hccs_die_info *die,
16261625
struct hccs_port_info *port)
16271626
{
16281627
int ret;
@@ -1654,7 +1653,7 @@ static int hccs_create_die_dir(struct hccs_dev *hdev,
16541653

16551654
for (i = 0; i < die->port_num; i++) {
16561655
port = &die->ports[i];
1657-
ret = hccs_create_hccs_dir(hdev, die, port);
1656+
ret = hccs_create_hccs_dir(die, port);
16581657
if (ret) {
16591658
dev_err(hdev->dev, "create hccs%u dir failed.\n",
16601659
port->port_id);

0 commit comments

Comments
 (0)