Skip to content

Commit a05c6e6

Browse files
committed
Merge tag 'soc-drivers-6.15-2' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc
Pull more SoC driver updates from Arnd Bergmann: "This is the promised follow-up to the soc drivers branch, adding minor updates to omap and freescale drivers. Most notably, Ioana Ciornei takes over maintenance of the DPAA bus driver used in some NXP (originally Freescale) chips" * tag 'soc-drivers-6.15-2' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc: bus: fsl-mc: Remove deadcode MAINTAINERS: add the linuppc-dev list to the fsl-mc bus entry MAINTAINERS: fix nonexistent dtbinding file name MAINTAINERS: add myself as maintainer for the fsl-mc bus irqdomain: soc: Switch to irq_find_mapping() Input: tsc2007 - accept standard properties
2 parents 7ebd68d + af34290 commit a05c6e6

File tree

9 files changed

+9
-63
lines changed

9 files changed

+9
-63
lines changed

MAINTAINERS

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19723,12 +19723,12 @@ F: fs/qnx6/
1972319723
F: include/linux/qnx6_fs.h
1972419724

1972519725
QORIQ DPAA2 FSL-MC BUS DRIVER
19726-
M: Stuart Yoder <stuyoder@gmail.com>
19727-
M: Laurentiu Tudor <laurentiu.tudor@nxp.com>
19726+
M: Ioana Ciornei <ioana.ciornei@nxp.com>
19727+
L: linuxppc-dev@lists.ozlabs.org
1972819728
L: linux-kernel@vger.kernel.org
1972919729
S: Maintained
1973019730
F: Documentation/ABI/stable/sysfs-bus-fsl-mc
19731-
F: Documentation/devicetree/bindings/misc/fsl,qoriq-mc.txt
19731+
F: Documentation/devicetree/bindings/misc/fsl,qoriq-mc.yaml
1973219732
F: Documentation/networking/device_drivers/ethernet/freescale/dpaa2/overview.rst
1973319733
F: drivers/bus/fsl-mc/
1973419734
F: include/uapi/linux/fsl_mc.h

drivers/bus/fsl-mc/dpmcp.c

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -75,25 +75,3 @@ int dpmcp_close(struct fsl_mc_io *mc_io,
7575
/* send command to mc*/
7676
return mc_send_command(mc_io, &cmd);
7777
}
78-
79-
/**
80-
* dpmcp_reset() - Reset the DPMCP, returns the object to initial state.
81-
* @mc_io: Pointer to MC portal's I/O object
82-
* @cmd_flags: Command flags; one or more of 'MC_CMD_FLAG_'
83-
* @token: Token of DPMCP object
84-
*
85-
* Return: '0' on Success; Error code otherwise.
86-
*/
87-
int dpmcp_reset(struct fsl_mc_io *mc_io,
88-
u32 cmd_flags,
89-
u16 token)
90-
{
91-
struct fsl_mc_command cmd = { 0 };
92-
93-
/* prepare command */
94-
cmd.header = mc_encode_cmd_header(DPMCP_CMDID_RESET,
95-
cmd_flags, token);
96-
97-
/* send command to mc*/
98-
return mc_send_command(mc_io, &cmd);
99-
}

drivers/bus/fsl-mc/fsl-mc-allocator.c

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -656,8 +656,3 @@ int __init fsl_mc_allocator_driver_init(void)
656656
{
657657
return fsl_mc_driver_register(&fsl_mc_allocator_driver);
658658
}
659-
660-
void fsl_mc_allocator_driver_exit(void)
661-
{
662-
fsl_mc_driver_unregister(&fsl_mc_allocator_driver);
663-
}

drivers/bus/fsl-mc/fsl-mc-private.h

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -66,10 +66,6 @@ int dpmcp_close(struct fsl_mc_io *mc_io,
6666
u32 cmd_flags,
6767
u16 token);
6868

69-
int dpmcp_reset(struct fsl_mc_io *mc_io,
70-
u32 cmd_flags,
71-
u16 token);
72-
7369
/*
7470
* Data Path Resource Container (DPRC) API
7571
*/
@@ -631,8 +627,6 @@ int dprc_scan_objects(struct fsl_mc_device *mc_bus_dev,
631627

632628
int __init fsl_mc_allocator_driver_init(void);
633629

634-
void fsl_mc_allocator_driver_exit(void);
635-
636630
void fsl_mc_init_all_resource_pools(struct fsl_mc_device *mc_bus_dev);
637631

638632
void fsl_mc_cleanup_all_resource_pools(struct fsl_mc_device *mc_bus_dev);

drivers/bus/fsl-mc/mc-io.c

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -263,23 +263,3 @@ void fsl_mc_portal_free(struct fsl_mc_io *mc_io)
263263
dpmcp_dev->consumer_link = NULL;
264264
}
265265
EXPORT_SYMBOL_GPL(fsl_mc_portal_free);
266-
267-
/**
268-
* fsl_mc_portal_reset - Resets the dpmcp object for a given fsl_mc_io object
269-
*
270-
* @mc_io: Pointer to the fsl_mc_io object that wraps the MC portal to free
271-
*/
272-
int fsl_mc_portal_reset(struct fsl_mc_io *mc_io)
273-
{
274-
int error;
275-
struct fsl_mc_device *dpmcp_dev = mc_io->dpmcp_dev;
276-
277-
error = dpmcp_reset(mc_io, 0, dpmcp_dev->mc_handle);
278-
if (error < 0) {
279-
dev_err(&dpmcp_dev->dev, "dpmcp_reset() failed: %d\n", error);
280-
return error;
281-
}
282-
283-
return 0;
284-
}
285-
EXPORT_SYMBOL_GPL(fsl_mc_portal_reset);

drivers/input/touchscreen/tsc2007.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
#ifndef _TSC2007_H
2020
#define _TSC2007_H
2121

22+
#include <linux/input/touchscreen.h>
2223
struct gpio_desc;
2324

2425
#define TSC2007_MEASURE_TEMP0 (0x0 << 4)
@@ -63,6 +64,7 @@ struct tsc2007 {
6364

6465
struct i2c_client *client;
6566

67+
struct touchscreen_properties prop;
6668
u16 model;
6769
u16 x_plate_ohms;
6870
u16 max_rt;

drivers/input/touchscreen/tsc2007_core.c

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -142,8 +142,7 @@ static irqreturn_t tsc2007_soft_irq(int irq, void *handle)
142142
rt = ts->max_rt - rt;
143143

144144
input_report_key(input, BTN_TOUCH, 1);
145-
input_report_abs(input, ABS_X, tc.x);
146-
input_report_abs(input, ABS_Y, tc.y);
145+
touchscreen_report_pos(input, &ts->prop, tc.x, tc.y, false);
147146
input_report_abs(input, ABS_PRESSURE, rt);
148147

149148
input_sync(input);
@@ -339,9 +338,9 @@ static int tsc2007_probe(struct i2c_client *client)
339338
input_set_drvdata(input_dev, ts);
340339

341340
input_set_capability(input_dev, EV_KEY, BTN_TOUCH);
342-
343341
input_set_abs_params(input_dev, ABS_X, 0, MAX_12BIT, ts->fuzzx, 0);
344342
input_set_abs_params(input_dev, ABS_Y, 0, MAX_12BIT, ts->fuzzy, 0);
343+
touchscreen_parse_properties(input_dev, false, &ts->prop);
345344
input_set_abs_params(input_dev, ABS_PRESSURE, 0, MAX_12BIT,
346345
ts->fuzzz, 0);
347346

drivers/soc/fsl/qe/qe_ic.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -344,7 +344,7 @@ static unsigned int qe_ic_get_low_irq(struct qe_ic *qe_ic)
344344
if (irq == 0)
345345
return 0;
346346

347-
return irq_linear_revmap(qe_ic->irqhost, irq);
347+
return irq_find_mapping(qe_ic->irqhost, irq);
348348
}
349349

350350
/* Return an interrupt vector or 0 if no interrupt is pending. */
@@ -360,7 +360,7 @@ static unsigned int qe_ic_get_high_irq(struct qe_ic *qe_ic)
360360
if (irq == 0)
361361
return 0;
362362

363-
return irq_linear_revmap(qe_ic->irqhost, irq);
363+
return irq_find_mapping(qe_ic->irqhost, irq);
364364
}
365365

366366
static void qe_ic_cascade_low(struct irq_desc *desc)

include/linux/fsl/mc.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -417,8 +417,6 @@ int __must_check fsl_mc_portal_allocate(struct fsl_mc_device *mc_dev,
417417

418418
void fsl_mc_portal_free(struct fsl_mc_io *mc_io);
419419

420-
int fsl_mc_portal_reset(struct fsl_mc_io *mc_io);
421-
422420
int __must_check fsl_mc_object_allocate(struct fsl_mc_device *mc_dev,
423421
enum fsl_mc_pool_type pool_type,
424422
struct fsl_mc_device **new_mc_adev);

0 commit comments

Comments
 (0)