Thomas Gleixner | 97fb5e8 | 2019-05-29 07:17:58 -0700 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0-only |
David Brown | ce44bf5 | 2013-03-12 11:41:54 -0700 | [diff] [blame] | 2 | /* Copyright (c) 2009-2013, The Linux Foundation. All rights reserved. |
Kenneth Heitke | e44b0ce | 2013-03-12 11:41:46 -0700 | [diff] [blame] | 3 | * Copyright (c) 2010, Google Inc. |
| 4 | * |
| 5 | * Original authors: Code Aurora Forum |
| 6 | * |
| 7 | * Author: Dima Zavin <dima@android.com> |
| 8 | * - Largely rewritten from original to not be an i2c driver. |
Kenneth Heitke | e44b0ce | 2013-03-12 11:41:46 -0700 | [diff] [blame] | 9 | */ |
| 10 | |
| 11 | #define pr_fmt(fmt) "%s: " fmt, __func__ |
| 12 | |
| 13 | #include <linux/delay.h> |
| 14 | #include <linux/err.h> |
| 15 | #include <linux/io.h> |
| 16 | #include <linux/kernel.h> |
| 17 | #include <linux/platform_device.h> |
| 18 | #include <linux/slab.h> |
David Brown | ce44bf5 | 2013-03-12 11:41:54 -0700 | [diff] [blame] | 19 | #include <linux/ssbi.h> |
Kenneth Heitke | e44b0ce | 2013-03-12 11:41:46 -0700 | [diff] [blame] | 20 | #include <linux/module.h> |
David Brown | 97f00f7 | 2013-03-12 11:41:50 -0700 | [diff] [blame] | 21 | #include <linux/of.h> |
| 22 | #include <linux/of_device.h> |
Kenneth Heitke | e44b0ce | 2013-03-12 11:41:46 -0700 | [diff] [blame] | 23 | |
| 24 | /* SSBI 2.0 controller registers */ |
| 25 | #define SSBI2_CMD 0x0008 |
| 26 | #define SSBI2_RD 0x0010 |
| 27 | #define SSBI2_STATUS 0x0014 |
| 28 | #define SSBI2_MODE2 0x001C |
| 29 | |
| 30 | /* SSBI_CMD fields */ |
| 31 | #define SSBI_CMD_RDWRN (1 << 24) |
| 32 | |
| 33 | /* SSBI_STATUS fields */ |
| 34 | #define SSBI_STATUS_RD_READY (1 << 2) |
| 35 | #define SSBI_STATUS_READY (1 << 1) |
| 36 | #define SSBI_STATUS_MCHN_BUSY (1 << 0) |
| 37 | |
| 38 | /* SSBI_MODE2 fields */ |
| 39 | #define SSBI_MODE2_REG_ADDR_15_8_SHFT 0x04 |
| 40 | #define SSBI_MODE2_REG_ADDR_15_8_MASK (0x7f << SSBI_MODE2_REG_ADDR_15_8_SHFT) |
| 41 | |
| 42 | #define SET_SSBI_MODE2_REG_ADDR_15_8(MD, AD) \ |
| 43 | (((MD) & 0x0F) | ((((AD) >> 8) << SSBI_MODE2_REG_ADDR_15_8_SHFT) & \ |
| 44 | SSBI_MODE2_REG_ADDR_15_8_MASK)) |
| 45 | |
| 46 | /* SSBI PMIC Arbiter command registers */ |
| 47 | #define SSBI_PA_CMD 0x0000 |
| 48 | #define SSBI_PA_RD_STATUS 0x0004 |
| 49 | |
| 50 | /* SSBI_PA_CMD fields */ |
| 51 | #define SSBI_PA_CMD_RDWRN (1 << 24) |
| 52 | #define SSBI_PA_CMD_ADDR_MASK 0x7fff /* REG_ADDR_7_0, REG_ADDR_8_14*/ |
| 53 | |
| 54 | /* SSBI_PA_RD_STATUS fields */ |
| 55 | #define SSBI_PA_RD_STATUS_TRANS_DONE (1 << 27) |
| 56 | #define SSBI_PA_RD_STATUS_TRANS_DENIED (1 << 26) |
| 57 | |
| 58 | #define SSBI_TIMEOUT_US 100 |
| 59 | |
Stephen Boyd | bae911a | 2013-12-10 15:35:16 -0800 | [diff] [blame] | 60 | enum ssbi_controller_type { |
| 61 | MSM_SBI_CTRL_SSBI = 0, |
| 62 | MSM_SBI_CTRL_SSBI2, |
| 63 | MSM_SBI_CTRL_PMIC_ARBITER, |
| 64 | }; |
| 65 | |
David Brown | ce44bf5 | 2013-03-12 11:41:54 -0700 | [diff] [blame] | 66 | struct ssbi { |
Kenneth Heitke | e44b0ce | 2013-03-12 11:41:46 -0700 | [diff] [blame] | 67 | struct device *slave; |
| 68 | void __iomem *base; |
| 69 | spinlock_t lock; |
David Brown | ce44bf5 | 2013-03-12 11:41:54 -0700 | [diff] [blame] | 70 | enum ssbi_controller_type controller_type; |
| 71 | int (*read)(struct ssbi *, u16 addr, u8 *buf, int len); |
Stephen Boyd | 5eec14c | 2013-12-10 15:35:17 -0800 | [diff] [blame] | 72 | int (*write)(struct ssbi *, u16 addr, const u8 *buf, int len); |
Kenneth Heitke | e44b0ce | 2013-03-12 11:41:46 -0700 | [diff] [blame] | 73 | }; |
| 74 | |
David Brown | ce44bf5 | 2013-03-12 11:41:54 -0700 | [diff] [blame] | 75 | static inline u32 ssbi_readl(struct ssbi *ssbi, u32 reg) |
Kenneth Heitke | e44b0ce | 2013-03-12 11:41:46 -0700 | [diff] [blame] | 76 | { |
| 77 | return readl(ssbi->base + reg); |
| 78 | } |
| 79 | |
David Brown | ce44bf5 | 2013-03-12 11:41:54 -0700 | [diff] [blame] | 80 | static inline void ssbi_writel(struct ssbi *ssbi, u32 val, u32 reg) |
Kenneth Heitke | e44b0ce | 2013-03-12 11:41:46 -0700 | [diff] [blame] | 81 | { |
| 82 | writel(val, ssbi->base + reg); |
| 83 | } |
| 84 | |
David Brown | 3f7a73b | 2013-03-12 11:41:51 -0700 | [diff] [blame] | 85 | /* |
| 86 | * Via private exchange with one of the original authors, the hardware |
| 87 | * should generally finish a transaction in about 5us. The worst |
| 88 | * case, is when using the arbiter and both other CPUs have just |
| 89 | * started trying to use the SSBI bus will result in a time of about |
| 90 | * 20us. It should never take longer than this. |
| 91 | * |
| 92 | * As such, this wait merely spins, with a udelay. |
| 93 | */ |
David Brown | ce44bf5 | 2013-03-12 11:41:54 -0700 | [diff] [blame] | 94 | static int ssbi_wait_mask(struct ssbi *ssbi, u32 set_mask, u32 clr_mask) |
Kenneth Heitke | e44b0ce | 2013-03-12 11:41:46 -0700 | [diff] [blame] | 95 | { |
| 96 | u32 timeout = SSBI_TIMEOUT_US; |
| 97 | u32 val; |
| 98 | |
| 99 | while (timeout--) { |
| 100 | val = ssbi_readl(ssbi, SSBI2_STATUS); |
| 101 | if (((val & set_mask) == set_mask) && ((val & clr_mask) == 0)) |
| 102 | return 0; |
| 103 | udelay(1); |
| 104 | } |
| 105 | |
Kenneth Heitke | e44b0ce | 2013-03-12 11:41:46 -0700 | [diff] [blame] | 106 | return -ETIMEDOUT; |
| 107 | } |
| 108 | |
| 109 | static int |
David Brown | ce44bf5 | 2013-03-12 11:41:54 -0700 | [diff] [blame] | 110 | ssbi_read_bytes(struct ssbi *ssbi, u16 addr, u8 *buf, int len) |
Kenneth Heitke | e44b0ce | 2013-03-12 11:41:46 -0700 | [diff] [blame] | 111 | { |
| 112 | u32 cmd = SSBI_CMD_RDWRN | ((addr & 0xff) << 16); |
| 113 | int ret = 0; |
| 114 | |
| 115 | if (ssbi->controller_type == MSM_SBI_CTRL_SSBI2) { |
| 116 | u32 mode2 = ssbi_readl(ssbi, SSBI2_MODE2); |
| 117 | mode2 = SET_SSBI_MODE2_REG_ADDR_15_8(mode2, addr); |
| 118 | ssbi_writel(ssbi, mode2, SSBI2_MODE2); |
| 119 | } |
| 120 | |
| 121 | while (len) { |
| 122 | ret = ssbi_wait_mask(ssbi, SSBI_STATUS_READY, 0); |
| 123 | if (ret) |
| 124 | goto err; |
| 125 | |
| 126 | ssbi_writel(ssbi, cmd, SSBI2_CMD); |
| 127 | ret = ssbi_wait_mask(ssbi, SSBI_STATUS_RD_READY, 0); |
| 128 | if (ret) |
| 129 | goto err; |
| 130 | *buf++ = ssbi_readl(ssbi, SSBI2_RD) & 0xff; |
| 131 | len--; |
| 132 | } |
| 133 | |
| 134 | err: |
| 135 | return ret; |
| 136 | } |
| 137 | |
| 138 | static int |
Stephen Boyd | 5eec14c | 2013-12-10 15:35:17 -0800 | [diff] [blame] | 139 | ssbi_write_bytes(struct ssbi *ssbi, u16 addr, const u8 *buf, int len) |
Kenneth Heitke | e44b0ce | 2013-03-12 11:41:46 -0700 | [diff] [blame] | 140 | { |
| 141 | int ret = 0; |
| 142 | |
| 143 | if (ssbi->controller_type == MSM_SBI_CTRL_SSBI2) { |
| 144 | u32 mode2 = ssbi_readl(ssbi, SSBI2_MODE2); |
| 145 | mode2 = SET_SSBI_MODE2_REG_ADDR_15_8(mode2, addr); |
| 146 | ssbi_writel(ssbi, mode2, SSBI2_MODE2); |
| 147 | } |
| 148 | |
| 149 | while (len) { |
| 150 | ret = ssbi_wait_mask(ssbi, SSBI_STATUS_READY, 0); |
| 151 | if (ret) |
| 152 | goto err; |
| 153 | |
| 154 | ssbi_writel(ssbi, ((addr & 0xff) << 16) | *buf, SSBI2_CMD); |
| 155 | ret = ssbi_wait_mask(ssbi, 0, SSBI_STATUS_MCHN_BUSY); |
| 156 | if (ret) |
| 157 | goto err; |
| 158 | buf++; |
| 159 | len--; |
| 160 | } |
| 161 | |
| 162 | err: |
| 163 | return ret; |
| 164 | } |
| 165 | |
David Brown | 3f7a73b | 2013-03-12 11:41:51 -0700 | [diff] [blame] | 166 | /* |
| 167 | * See ssbi_wait_mask for an explanation of the time and the |
| 168 | * busywait. |
| 169 | */ |
Kenneth Heitke | e44b0ce | 2013-03-12 11:41:46 -0700 | [diff] [blame] | 170 | static inline int |
David Brown | ce44bf5 | 2013-03-12 11:41:54 -0700 | [diff] [blame] | 171 | ssbi_pa_transfer(struct ssbi *ssbi, u32 cmd, u8 *data) |
Kenneth Heitke | e44b0ce | 2013-03-12 11:41:46 -0700 | [diff] [blame] | 172 | { |
| 173 | u32 timeout = SSBI_TIMEOUT_US; |
| 174 | u32 rd_status = 0; |
| 175 | |
| 176 | ssbi_writel(ssbi, cmd, SSBI_PA_CMD); |
| 177 | |
| 178 | while (timeout--) { |
| 179 | rd_status = ssbi_readl(ssbi, SSBI_PA_RD_STATUS); |
| 180 | |
David Brown | 37799ef | 2013-03-12 11:41:53 -0700 | [diff] [blame] | 181 | if (rd_status & SSBI_PA_RD_STATUS_TRANS_DENIED) |
Kenneth Heitke | e44b0ce | 2013-03-12 11:41:46 -0700 | [diff] [blame] | 182 | return -EPERM; |
Kenneth Heitke | e44b0ce | 2013-03-12 11:41:46 -0700 | [diff] [blame] | 183 | |
| 184 | if (rd_status & SSBI_PA_RD_STATUS_TRANS_DONE) { |
| 185 | if (data) |
| 186 | *data = rd_status & 0xff; |
| 187 | return 0; |
| 188 | } |
| 189 | udelay(1); |
| 190 | } |
| 191 | |
Kenneth Heitke | e44b0ce | 2013-03-12 11:41:46 -0700 | [diff] [blame] | 192 | return -ETIMEDOUT; |
| 193 | } |
| 194 | |
| 195 | static int |
David Brown | ce44bf5 | 2013-03-12 11:41:54 -0700 | [diff] [blame] | 196 | ssbi_pa_read_bytes(struct ssbi *ssbi, u16 addr, u8 *buf, int len) |
Kenneth Heitke | e44b0ce | 2013-03-12 11:41:46 -0700 | [diff] [blame] | 197 | { |
| 198 | u32 cmd; |
| 199 | int ret = 0; |
| 200 | |
| 201 | cmd = SSBI_PA_CMD_RDWRN | (addr & SSBI_PA_CMD_ADDR_MASK) << 8; |
| 202 | |
| 203 | while (len) { |
David Brown | ce44bf5 | 2013-03-12 11:41:54 -0700 | [diff] [blame] | 204 | ret = ssbi_pa_transfer(ssbi, cmd, buf); |
Kenneth Heitke | e44b0ce | 2013-03-12 11:41:46 -0700 | [diff] [blame] | 205 | if (ret) |
| 206 | goto err; |
| 207 | buf++; |
| 208 | len--; |
| 209 | } |
| 210 | |
| 211 | err: |
| 212 | return ret; |
| 213 | } |
| 214 | |
| 215 | static int |
Stephen Boyd | 5eec14c | 2013-12-10 15:35:17 -0800 | [diff] [blame] | 216 | ssbi_pa_write_bytes(struct ssbi *ssbi, u16 addr, const u8 *buf, int len) |
Kenneth Heitke | e44b0ce | 2013-03-12 11:41:46 -0700 | [diff] [blame] | 217 | { |
| 218 | u32 cmd; |
| 219 | int ret = 0; |
| 220 | |
| 221 | while (len) { |
| 222 | cmd = (addr & SSBI_PA_CMD_ADDR_MASK) << 8 | *buf; |
David Brown | ce44bf5 | 2013-03-12 11:41:54 -0700 | [diff] [blame] | 223 | ret = ssbi_pa_transfer(ssbi, cmd, NULL); |
Kenneth Heitke | e44b0ce | 2013-03-12 11:41:46 -0700 | [diff] [blame] | 224 | if (ret) |
| 225 | goto err; |
| 226 | buf++; |
| 227 | len--; |
| 228 | } |
| 229 | |
| 230 | err: |
| 231 | return ret; |
| 232 | } |
| 233 | |
David Brown | ce44bf5 | 2013-03-12 11:41:54 -0700 | [diff] [blame] | 234 | int ssbi_read(struct device *dev, u16 addr, u8 *buf, int len) |
Kenneth Heitke | e44b0ce | 2013-03-12 11:41:46 -0700 | [diff] [blame] | 235 | { |
Kefeng Wang | ed83513 | 2019-05-09 22:23:39 +0800 | [diff] [blame] | 236 | struct ssbi *ssbi = dev_get_drvdata(dev); |
Kenneth Heitke | e44b0ce | 2013-03-12 11:41:46 -0700 | [diff] [blame] | 237 | unsigned long flags; |
| 238 | int ret; |
| 239 | |
Kenneth Heitke | e44b0ce | 2013-03-12 11:41:46 -0700 | [diff] [blame] | 240 | spin_lock_irqsave(&ssbi->lock, flags); |
| 241 | ret = ssbi->read(ssbi, addr, buf, len); |
| 242 | spin_unlock_irqrestore(&ssbi->lock, flags); |
| 243 | |
| 244 | return ret; |
| 245 | } |
David Brown | ce44bf5 | 2013-03-12 11:41:54 -0700 | [diff] [blame] | 246 | EXPORT_SYMBOL_GPL(ssbi_read); |
Kenneth Heitke | e44b0ce | 2013-03-12 11:41:46 -0700 | [diff] [blame] | 247 | |
Stephen Boyd | 5eec14c | 2013-12-10 15:35:17 -0800 | [diff] [blame] | 248 | int ssbi_write(struct device *dev, u16 addr, const u8 *buf, int len) |
Kenneth Heitke | e44b0ce | 2013-03-12 11:41:46 -0700 | [diff] [blame] | 249 | { |
Kefeng Wang | ed83513 | 2019-05-09 22:23:39 +0800 | [diff] [blame] | 250 | struct ssbi *ssbi = dev_get_drvdata(dev); |
Kenneth Heitke | e44b0ce | 2013-03-12 11:41:46 -0700 | [diff] [blame] | 251 | unsigned long flags; |
| 252 | int ret; |
| 253 | |
Kenneth Heitke | e44b0ce | 2013-03-12 11:41:46 -0700 | [diff] [blame] | 254 | spin_lock_irqsave(&ssbi->lock, flags); |
| 255 | ret = ssbi->write(ssbi, addr, buf, len); |
| 256 | spin_unlock_irqrestore(&ssbi->lock, flags); |
| 257 | |
| 258 | return ret; |
| 259 | } |
David Brown | ce44bf5 | 2013-03-12 11:41:54 -0700 | [diff] [blame] | 260 | EXPORT_SYMBOL_GPL(ssbi_write); |
Kenneth Heitke | e44b0ce | 2013-03-12 11:41:46 -0700 | [diff] [blame] | 261 | |
David Brown | ce44bf5 | 2013-03-12 11:41:54 -0700 | [diff] [blame] | 262 | static int ssbi_probe(struct platform_device *pdev) |
Kenneth Heitke | e44b0ce | 2013-03-12 11:41:46 -0700 | [diff] [blame] | 263 | { |
David Brown | 97f00f7 | 2013-03-12 11:41:50 -0700 | [diff] [blame] | 264 | struct device_node *np = pdev->dev.of_node; |
Kenneth Heitke | e44b0ce | 2013-03-12 11:41:46 -0700 | [diff] [blame] | 265 | struct resource *mem_res; |
David Brown | ce44bf5 | 2013-03-12 11:41:54 -0700 | [diff] [blame] | 266 | struct ssbi *ssbi; |
David Brown | 97f00f7 | 2013-03-12 11:41:50 -0700 | [diff] [blame] | 267 | const char *type; |
Kenneth Heitke | e44b0ce | 2013-03-12 11:41:46 -0700 | [diff] [blame] | 268 | |
Stephen Boyd | e578438 | 2013-06-03 12:39:44 -0700 | [diff] [blame] | 269 | ssbi = devm_kzalloc(&pdev->dev, sizeof(*ssbi), GFP_KERNEL); |
| 270 | if (!ssbi) |
Kenneth Heitke | e44b0ce | 2013-03-12 11:41:46 -0700 | [diff] [blame] | 271 | return -ENOMEM; |
Kenneth Heitke | e44b0ce | 2013-03-12 11:41:46 -0700 | [diff] [blame] | 272 | |
| 273 | mem_res = platform_get_resource(pdev, IORESOURCE_MEM, 0); |
Stephen Boyd | e578438 | 2013-06-03 12:39:44 -0700 | [diff] [blame] | 274 | ssbi->base = devm_ioremap_resource(&pdev->dev, mem_res); |
| 275 | if (IS_ERR(ssbi->base)) |
| 276 | return PTR_ERR(ssbi->base); |
Kenneth Heitke | e44b0ce | 2013-03-12 11:41:46 -0700 | [diff] [blame] | 277 | |
Kenneth Heitke | e44b0ce | 2013-03-12 11:41:46 -0700 | [diff] [blame] | 278 | platform_set_drvdata(pdev, ssbi); |
| 279 | |
David Brown | 97f00f7 | 2013-03-12 11:41:50 -0700 | [diff] [blame] | 280 | type = of_get_property(np, "qcom,controller-type", NULL); |
| 281 | if (type == NULL) { |
Stephen Boyd | e578438 | 2013-06-03 12:39:44 -0700 | [diff] [blame] | 282 | dev_err(&pdev->dev, "Missing qcom,controller-type property\n"); |
| 283 | return -EINVAL; |
David Brown | 97f00f7 | 2013-03-12 11:41:50 -0700 | [diff] [blame] | 284 | } |
| 285 | dev_info(&pdev->dev, "SSBI controller type: '%s'\n", type); |
| 286 | if (strcmp(type, "ssbi") == 0) |
| 287 | ssbi->controller_type = MSM_SBI_CTRL_SSBI; |
| 288 | else if (strcmp(type, "ssbi2") == 0) |
| 289 | ssbi->controller_type = MSM_SBI_CTRL_SSBI2; |
| 290 | else if (strcmp(type, "pmic-arbiter") == 0) |
| 291 | ssbi->controller_type = MSM_SBI_CTRL_PMIC_ARBITER; |
| 292 | else { |
Stephen Boyd | e578438 | 2013-06-03 12:39:44 -0700 | [diff] [blame] | 293 | dev_err(&pdev->dev, "Unknown qcom,controller-type\n"); |
| 294 | return -EINVAL; |
David Brown | 97f00f7 | 2013-03-12 11:41:50 -0700 | [diff] [blame] | 295 | } |
| 296 | |
Kenneth Heitke | e44b0ce | 2013-03-12 11:41:46 -0700 | [diff] [blame] | 297 | if (ssbi->controller_type == MSM_SBI_CTRL_PMIC_ARBITER) { |
David Brown | ce44bf5 | 2013-03-12 11:41:54 -0700 | [diff] [blame] | 298 | ssbi->read = ssbi_pa_read_bytes; |
| 299 | ssbi->write = ssbi_pa_write_bytes; |
Kenneth Heitke | e44b0ce | 2013-03-12 11:41:46 -0700 | [diff] [blame] | 300 | } else { |
David Brown | ce44bf5 | 2013-03-12 11:41:54 -0700 | [diff] [blame] | 301 | ssbi->read = ssbi_read_bytes; |
| 302 | ssbi->write = ssbi_write_bytes; |
Kenneth Heitke | e44b0ce | 2013-03-12 11:41:46 -0700 | [diff] [blame] | 303 | } |
| 304 | |
| 305 | spin_lock_init(&ssbi->lock); |
| 306 | |
Benjamin Gaignard | f38aa35 | 2017-10-25 16:15:01 +0200 | [diff] [blame] | 307 | return devm_of_platform_populate(&pdev->dev); |
Kenneth Heitke | e44b0ce | 2013-03-12 11:41:46 -0700 | [diff] [blame] | 308 | } |
| 309 | |
Stephen Boyd | 12eda2a | 2013-12-10 15:35:19 -0800 | [diff] [blame] | 310 | static const struct of_device_id ssbi_match_table[] = { |
David Brown | 97f00f7 | 2013-03-12 11:41:50 -0700 | [diff] [blame] | 311 | { .compatible = "qcom,ssbi" }, |
| 312 | {} |
| 313 | }; |
Stephen Boyd | 6378c1e | 2013-06-03 12:39:43 -0700 | [diff] [blame] | 314 | MODULE_DEVICE_TABLE(of, ssbi_match_table); |
David Brown | 97f00f7 | 2013-03-12 11:41:50 -0700 | [diff] [blame] | 315 | |
David Brown | ce44bf5 | 2013-03-12 11:41:54 -0700 | [diff] [blame] | 316 | static struct platform_driver ssbi_driver = { |
| 317 | .probe = ssbi_probe, |
Kenneth Heitke | e44b0ce | 2013-03-12 11:41:46 -0700 | [diff] [blame] | 318 | .driver = { |
David Brown | ce44bf5 | 2013-03-12 11:41:54 -0700 | [diff] [blame] | 319 | .name = "ssbi", |
David Brown | 97f00f7 | 2013-03-12 11:41:50 -0700 | [diff] [blame] | 320 | .of_match_table = ssbi_match_table, |
Kenneth Heitke | e44b0ce | 2013-03-12 11:41:46 -0700 | [diff] [blame] | 321 | }, |
| 322 | }; |
Stephen Boyd | e578438 | 2013-06-03 12:39:44 -0700 | [diff] [blame] | 323 | module_platform_driver(ssbi_driver); |
Kenneth Heitke | e44b0ce | 2013-03-12 11:41:46 -0700 | [diff] [blame] | 324 | |
| 325 | MODULE_LICENSE("GPL v2"); |
| 326 | MODULE_VERSION("1.0"); |
David Brown | ce44bf5 | 2013-03-12 11:41:54 -0700 | [diff] [blame] | 327 | MODULE_ALIAS("platform:ssbi"); |
Kenneth Heitke | e44b0ce | 2013-03-12 11:41:46 -0700 | [diff] [blame] | 328 | MODULE_AUTHOR("Dima Zavin <dima@android.com>"); |