Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

greybus: replace Ara references

Replace all occurrences of the term "Ara" with "GMP" in core.

Signed-off-by: Johan Hovold <johan@hovoldconsulting.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>

authored by

Johan Hovold and committed by
Greg Kroah-Hartman
23931ffb 6c298035

+16 -16
+1 -1
drivers/staging/greybus/bootrom.c
··· 114 114 struct gb_interface *intf = connection->bundle->intf; 115 115 int ret; 116 116 117 - if (!(intf->quirks & GB_INTERFACE_QUIRK_NO_ARA_IDS)) 117 + if (!(intf->quirks & GB_INTERFACE_QUIRK_NO_GMP_IDS)) 118 118 return; 119 119 120 120 ret = gb_operation_sync(connection, GB_BOOTROM_TYPE_GET_VID_PID,
+14 -14
drivers/staging/greybus/interface.c
··· 31 31 #define DME_DDBL1_MANUFACTURERID 0x5003 32 32 #define DME_DDBL1_PRODUCTID 0x5004 33 33 34 - #define DME_TOSHIBA_ARA_VID 0x6000 35 - #define DME_TOSHIBA_ARA_PID 0x6001 36 - #define DME_TOSHIBA_ARA_SN0 0x6002 37 - #define DME_TOSHIBA_ARA_SN1 0x6003 38 - #define DME_TOSHIBA_ARA_INIT_STATUS 0x6101 34 + #define DME_TOSHIBA_GMP_VID 0x6000 35 + #define DME_TOSHIBA_GMP_PID 0x6001 36 + #define DME_TOSHIBA_GMP_SN0 0x6002 37 + #define DME_TOSHIBA_GMP_SN1 0x6003 38 + #define DME_TOSHIBA_GMP_INIT_STATUS 0x6101 39 39 40 40 /* DDBL1 Manufacturer and Product ids */ 41 41 #define TOSHIBA_DMID 0x0126 ··· 60 60 61 61 /* 62 62 * Unless this is a Toshiba bridge, bail out until we have defined 63 - * standard Ara attributes. 63 + * standard GMP attributes. 64 64 */ 65 65 if (intf->ddbl1_manufacturer_id != TOSHIBA_DMID) { 66 66 dev_err(&intf->dev, "unknown manufacturer %08x\n", ··· 68 68 return -ENODEV; 69 69 } 70 70 71 - ret = gb_interface_dme_attr_get(intf, DME_TOSHIBA_ARA_VID, 71 + ret = gb_interface_dme_attr_get(intf, DME_TOSHIBA_GMP_VID, 72 72 &intf->vendor_id); 73 73 if (ret) 74 74 return ret; 75 75 76 - ret = gb_interface_dme_attr_get(intf, DME_TOSHIBA_ARA_PID, 76 + ret = gb_interface_dme_attr_get(intf, DME_TOSHIBA_GMP_PID, 77 77 &intf->product_id); 78 78 if (ret) 79 79 return ret; 80 80 81 - ret = gb_interface_dme_attr_get(intf, DME_TOSHIBA_ARA_SN0, &sn0); 81 + ret = gb_interface_dme_attr_get(intf, DME_TOSHIBA_GMP_SN0, &sn0); 82 82 if (ret) 83 83 return ret; 84 84 85 - ret = gb_interface_dme_attr_get(intf, DME_TOSHIBA_ARA_SN1, &sn1); 85 + ret = gb_interface_dme_attr_get(intf, DME_TOSHIBA_GMP_SN1, &sn1); 86 86 if (ret) 87 87 return ret; 88 88 ··· 111 111 112 112 if (intf->ddbl1_manufacturer_id == TOSHIBA_DMID && 113 113 intf->ddbl1_product_id == TOSHIBA_ES2_BRIDGE_DPID) { 114 - intf->quirks |= GB_INTERFACE_QUIRK_NO_ARA_IDS; 114 + intf->quirks |= GB_INTERFACE_QUIRK_NO_GMP_IDS; 115 115 intf->quirks |= GB_INTERFACE_QUIRK_NO_INIT_STATUS; 116 116 } 117 117 ··· 377 377 if (intf->quirks & GB_INTERFACE_QUIRK_NO_INIT_STATUS) 378 378 attr = DME_T_TST_SRC_INCREMENT; 379 379 else 380 - attr = DME_TOSHIBA_ARA_INIT_STATUS; 380 + attr = DME_TOSHIBA_GMP_INIT_STATUS; 381 381 382 382 ret = gb_svc_dme_peer_get(hd->svc, intf->interface_id, attr, 383 383 DME_SELECTOR_INDEX_NULL, &value); ··· 793 793 }; 794 794 795 795 /* 796 - * A Greybus module represents a user-replaceable component on an Ara 796 + * A Greybus module represents a user-replaceable component on a GMP 797 797 * phone. An interface is the physical connection on that module. A 798 798 * module may have more than one interface. 799 799 * ··· 1282 1282 1283 1283 switch (intf->type) { 1284 1284 case GB_INTERFACE_TYPE_GREYBUS: 1285 - dev_info(&intf->dev, "Ara VID=0x%08x, PID=0x%08x\n", 1285 + dev_info(&intf->dev, "GMP VID=0x%08x, PID=0x%08x\n", 1286 1286 intf->vendor_id, intf->product_id); 1287 1287 /* fall-through */ 1288 1288 case GB_INTERFACE_TYPE_UNIPRO:
+1 -1
drivers/staging/greybus/interface.h
··· 20 20 21 21 #define GB_INTERFACE_QUIRK_NO_CPORT_FEATURES BIT(0) 22 22 #define GB_INTERFACE_QUIRK_NO_INIT_STATUS BIT(1) 23 - #define GB_INTERFACE_QUIRK_NO_ARA_IDS BIT(2) 23 + #define GB_INTERFACE_QUIRK_NO_GMP_IDS BIT(2) 24 24 #define GB_INTERFACE_QUIRK_FORCED_DISABLE BIT(3) 25 25 #define GB_INTERFACE_QUIRK_LEGACY_MODE_SWITCH BIT(4) 26 26 #define GB_INTERFACE_QUIRK_NO_BUNDLE_ACTIVATE BIT(5)