Skip to content

Commit

Permalink
Merge branch 'rpi-6.6.y' into v3d/downstream/perfmon-clear
Browse files Browse the repository at this point in the history
  • Loading branch information
mairacanal authored Dec 5, 2024
2 parents 781ffe1 + 02dee26 commit 25237b6
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 5 deletions.
2 changes: 2 additions & 0 deletions arch/arm/boot/dts/overlays/README
Original file line number Diff line number Diff line change
Expand Up @@ -3538,6 +3538,8 @@ Params: rotation Mounting rotation of the camera sensor (0 or
configuring the sensor (default on)
cam0 Adopt the default configuration for CAM0 on a
Compute Module (CSI0, i2c_vc, and cam0_reg).
arducam Slow down the regulator for slow Arducam
modules.


Name: papirus
Expand Down
13 changes: 12 additions & 1 deletion arch/arm/boot/dts/overlays/ov9281-overlay.dts
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,14 @@
};
};

reg_frag: fragment@5 {
target = <&cam1_reg>;
__dormant__ {
startup-delay-us = <20000>;
off-on-delay-us = <30000>;
};
};

__overrides__ {
rotation = <&cam_node>,"rotation:0";
orientation = <&cam_node>,"orientation:0";
Expand All @@ -65,7 +73,10 @@
<&csi_frag>, "target:0=",<&csi0>,
<&clk_frag>, "target:0=",<&cam0_clk>,
<&cam_node>, "clocks:0=",<&cam0_clk>,
<&cam_node>, "avdd-supply:0=",<&cam0_reg>;
<&cam_node>, "avdd-supply:0=",<&cam0_reg>,
<&reg_frag>, "target:0=",<&cam0_reg>;
arducam = <0>, "+5";

};
};

Expand Down
4 changes: 4 additions & 0 deletions drivers/nvme/host/pci.c
Original file line number Diff line number Diff line change
Expand Up @@ -1936,6 +1936,7 @@ static void nvme_free_host_mem(struct nvme_dev *dev)
dev->nr_host_mem_descs = 0;
}

#if 0
static int __nvme_alloc_host_mem(struct nvme_dev *dev, u64 preferred,
u32 chunk_size)
{
Expand Down Expand Up @@ -2003,9 +2004,11 @@ static int __nvme_alloc_host_mem(struct nvme_dev *dev, u64 preferred,
dev->host_mem_descs = NULL;
return -ENOMEM;
}
#endif

static int nvme_alloc_host_mem(struct nvme_dev *dev, u64 min, u64 preferred)
{
#if 0
u64 min_chunk = min_t(u64, preferred, PAGE_SIZE * MAX_ORDER_NR_PAGES);
u64 hmminds = max_t(u32, dev->ctrl.hmminds * 4096, PAGE_SIZE * 2);
u64 chunk_size;
Expand All @@ -2018,6 +2021,7 @@ static int nvme_alloc_host_mem(struct nvme_dev *dev, u64 min, u64 preferred)
nvme_free_host_mem(dev);
}
}
#endif

return -ENOMEM;
}
Expand Down
2 changes: 1 addition & 1 deletion drivers/tty/serial/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -1580,7 +1580,7 @@ config SERIAL_NUVOTON_MA35D1_CONSOLE

config SERIAL_RPI_FW
tristate "Raspberry Pi Firmware software UART support"
depends on ARM_AMBA || COMPILE_TEST
depends on RASPBERRYPI_FIRMWARE || COMPILE_TEST
select SERIAL_CORE
help
This selects the Raspberry Pi firmware UART. This is a bit-bashed
Expand Down
6 changes: 3 additions & 3 deletions drivers/tty/serial/rpi-fw-uart.c
Original file line number Diff line number Diff line change
Expand Up @@ -277,9 +277,9 @@ static int rpi_fw_uart_configure(struct uart_port *port)
dev_dbg(port->dev, "version %08x, reg addr %x\n", msg.version,
msg.fifo_reg_base);

dev_info(port->dev, "started %d baud %u data %u stop %u rx %u tx %u flags %u fifosize %u\n",
msg.start, msg.baud, msg.data_bits, msg.stop_bits,
msg.gpio_rx, msg.gpio_tx, msg.flags, msg.fifosize);
dev_dbg(port->dev, "started %d baud %u data %u stop %u rx %u tx %u flags %u fifosize %u\n",
msg.start, msg.baud, msg.data_bits, msg.stop_bits,
msg.gpio_rx, msg.gpio_tx, msg.flags, msg.fifosize);

if (msg.fifosize != port->fifosize) {
dev_err(port->dev, "Expected fifo size %u actual %u",
Expand Down

0 comments on commit 25237b6

Please sign in to comment.