Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added Overlay for Microchip MCP23017 I2C gpio expander #1485

Merged
merged 1 commit into from
May 24, 2016
Merged

Added Overlay for Microchip MCP23017 I2C gpio expander #1485

merged 1 commit into from
May 24, 2016

Conversation

MikeDK
Copy link

@MikeDK MikeDK commented May 23, 2016

This overlay makes use of the gpio_mcp23s08 kernel driver and is currently only intended for the I2C device MCP23017 due to lack of other devices to test.

I2C address and interrupt pin can be parametrized -> described in README.

@@ -586,6 +586,14 @@ Params: oscillator Clock frequency for the CAN controller (Hz)

interrupt GPIO for interrupt signal


Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Delete this trailing whitespace.

@pelwell
Copy link
Contributor

pelwell commented May 23, 2016

I've commented in-line. Fix those, squash down to one commit and git push -f, and I'll merge it.

@MikeDK
Copy link
Author

MikeDK commented May 24, 2016

done ;-)

@pelwell pelwell merged commit c702d9a into raspberrypi:rpi-4.4.y May 24, 2016
popcornmix added a commit to raspberrypi/firmware that referenced this pull request May 31, 2016
See: raspberrypi/linux#1485

kernel: bcm2835-camera: Fix max/min error when looping over cameras/resolutions
See: raspberrypi/linux#1447 (comment)

kernel: Add dt param to force HiFiBerry DAC+ Pro into slave mode
See: raspberrypi/linux#1501

kernel: simple: add sound-dai-cells to I2S def
See: raspberrypi/linux#1502

kernel: BCM2835-V4L2: Increase minimum resolution to 32x32
See: raspberrypi/linux#1505

kernel: config: Add support for Logitech Rumblepad
See: raspberrypi/linux#1496

firmware: arm_loader: Add simple-framebuffer support for vc4-kms-v3d

firmware: dtoverlay: Improve compatibility
libdtovl: Simplify target-path handling
See: https://www.raspberrypi.org/forums/viewtopic.php?f=107&t=139732

firmware: bootcode: Fix LED for A+ and B+
See: https://www.raspberrypi.org/forums/viewtopic.php?f=28&t=135813

firmware: cmake: generate and install pkgconfig files
See: raspberrypi/userland#245

documentaton: IL Components: Documentation update from latest source
popcornmix added a commit to Hexxeh/rpi-firmware that referenced this pull request May 31, 2016
See: raspberrypi/linux#1485

kernel: bcm2835-camera: Fix max/min error when looping over cameras/resolutions
See: raspberrypi/linux#1447 (comment)

kernel: Add dt param to force HiFiBerry DAC+ Pro into slave mode
See: raspberrypi/linux#1501

kernel: simple: add sound-dai-cells to I2S def
See: raspberrypi/linux#1502

kernel: BCM2835-V4L2: Increase minimum resolution to 32x32
See: raspberrypi/linux#1505

kernel: config: Add support for Logitech Rumblepad
See: raspberrypi/linux#1496

firmware: arm_loader: Add simple-framebuffer support for vc4-kms-v3d

firmware: dtoverlay: Improve compatibility
libdtovl: Simplify target-path handling
See: https://www.raspberrypi.org/forums/viewtopic.php?f=107&t=139732

firmware: bootcode: Fix LED for A+ and B+
See: https://www.raspberrypi.org/forums/viewtopic.php?f=28&t=135813

firmware: cmake: generate and install pkgconfig files
See: raspberrypi/userland#245

documentaton: IL Components: Documentation update from latest source
@MikeDK
Copy link
Author

MikeDK commented Jun 3, 2016

Question: who shall do the device tree compiling?
I can see that my .dts is included in the kernel, and the new readme is also in the last firmware, but there is no .dtb(o) file in the overlays folder ;)

@MikeDK
Copy link
Author

MikeDK commented Jun 3, 2016

PS: Or shall I compile it, and make a pull request on the firmware repo?

@popcornmix
Copy link
Collaborator

The firmware will be generated with whatever is built by the kernel, so no need to PR there.
What seems to be missing is the Makefile change to actually build this overlay. See:
https://github.com/raspberrypi/linux/blob/rpi-4.4.y/arch/arm/boot/dts/overlays/Makefile#L47

@MikeDK
Copy link
Author

MikeDK commented Jun 3, 2016

ahh thanks for that hint!
I have completely overseen the Makefile...

When I do the change, shall I squash down to one commit again, or shall I make a seperate pull request (as this one is already merged?)

@pelwell
Copy link
Contributor

pelwell commented Jun 3, 2016

It's OK - since it was also my oversight I've patched up the Makefile myself. I have a script that checks overlays and the README before merging, but it doesn't check the Makefile - I'll have to fix that.

@pelwell
Copy link
Contributor

pelwell commented Jun 3, 2016

I've now implemented the check, so this shouldn't happen again. It also means I get to be picky about the order of entries in the Makefile.

@MikeDK
Copy link
Author

MikeDK commented Jun 4, 2016

Thanks a lot!

neuschaefer pushed a commit to neuschaefer/raspi-binary-firmware that referenced this pull request Feb 27, 2017
See: raspberrypi/linux#1485

kernel: bcm2835-camera: Fix max/min error when looping over cameras/resolutions
See: raspberrypi/linux#1447 (comment)

kernel: Add dt param to force HiFiBerry DAC+ Pro into slave mode
See: raspberrypi/linux#1501

kernel: simple: add sound-dai-cells to I2S def
See: raspberrypi/linux#1502

kernel: BCM2835-V4L2: Increase minimum resolution to 32x32
See: raspberrypi/linux#1505

kernel: config: Add support for Logitech Rumblepad
See: raspberrypi/linux#1496

firmware: arm_loader: Add simple-framebuffer support for vc4-kms-v3d

firmware: dtoverlay: Improve compatibility
libdtovl: Simplify target-path handling
See: https://www.raspberrypi.org/forums/viewtopic.php?f=107&t=139732

firmware: bootcode: Fix LED for A+ and B+
See: https://www.raspberrypi.org/forums/viewtopic.php?f=28&t=135813

firmware: cmake: generate and install pkgconfig files
See: raspberrypi/userland#245

documentaton: IL Components: Documentation update from latest source
popcornmix pushed a commit that referenced this pull request Oct 16, 2023
Fix erratum #1485 on Zen4 parts where running with STIBP disabled can
cause an #UD exception. The performance impact of the fix is negligible.

Reported-by: René Rebe <rene@exactcode.de>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Tested-by: René Rebe <rene@exactcode.de>
Cc: <stable@kernel.org>
Link: https://lore.kernel.org/r/D99589F4-BC5D-430B-87B2-72C20370CF57@exactcode.com
popcornmix pushed a commit that referenced this pull request Oct 16, 2023
…ux/kernel/git/tip/tip

Pull x86 fixes from Ingo Molnar:
 "Fix a false-positive KASAN warning, fix an AMD erratum on Zen4 CPUs,
  and fix kernel-doc build warnings"

* tag 'x86-urgent-2023-10-15' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
  x86/alternatives: Disable KASAN in apply_alternatives()
  x86/cpu: Fix AMD erratum #1485 on Zen4-based CPUs
  x86/resctrl: Fix kernel-doc warnings
popcornmix pushed a commit that referenced this pull request Oct 24, 2023
commit f454b18 upstream.

Fix erratum #1485 on Zen4 parts where running with STIBP disabled can
cause an #UD exception. The performance impact of the fix is negligible.

Reported-by: René Rebe <rene@exactcode.de>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Tested-by: René Rebe <rene@exactcode.de>
Cc: <stable@kernel.org>
Link: https://lore.kernel.org/r/D99589F4-BC5D-430B-87B2-72C20370CF57@exactcode.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
popcornmix pushed a commit that referenced this pull request Nov 2, 2023
commit f454b18 upstream.

Fix erratum #1485 on Zen4 parts where running with STIBP disabled can
cause an #UD exception. The performance impact of the fix is negligible.

Reported-by: René Rebe <rene@exactcode.de>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Tested-by: René Rebe <rene@exactcode.de>
Cc: <stable@kernel.org>
Link: https://lore.kernel.org/r/D99589F4-BC5D-430B-87B2-72C20370CF57@exactcode.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
JanKehren pushed a commit to emteria/kernel_brcm_rpi that referenced this pull request Jan 17, 2024
Changes in 6.1.59
	net: mana: Fix TX CQE error handling
	mptcp: fix delegated action races
	drm/i915: Don't set PIPE_CONTROL_FLUSH_L3 for aux inval
	RDMA/cxgb4: Check skb value for failure to allocate
	perf/arm-cmn: Fix the unhandled overflow status of counter 4 to 7
	platform/x86: think-lmi: Fix reference leak
	platform/x86: hp-wmi:: Mark driver struct with __refdata to prevent section mismatch warning
	scsi: Do not rescan devices with a suspended queue
	HID: logitech-hidpp: Fix kernel crash on receiver USB disconnect
	quota: Fix slow quotaoff
	ASoC: amd: yc: Fix non-functional mic on Lenovo 82YM
	ata: libata-scsi: Disable scsi device manage_system_start_stop
	net: prevent address rewrite in kernel_bind()
	arm64: dts: qcom: sm8150: extend the size of the PDC resource
	dt-bindings: interrupt-controller: renesas,rzg2l-irqc: Update description for '#interrupt-cells' property
	irqchip: renesas-rzg2l: Fix logic to clear TINT interrupt source
	KEYS: trusted: Remove redundant static calls usage
	ALSA: usb-audio: Fix microphone sound on Opencomm2 Headset
	ALSA: usb-audio: Fix microphone sound on Nexigo webcam.
	ALSA: hda/realtek: Change model for Intel RVP board
	ASoC: SOF: amd: fix for firmware reload failure after playback
	ASoC: simple-card-utils: fixup simple_util_startup() error handling
	ASoC: Intel: soc-acpi: Add entry for HDMI_In capture support in MTL match table
	ASoC: Intel: sof_sdw: add support for SKU 0B14
	ASoC: Intel: soc-acpi: Add entry for sof_es8336 in MTL match table.
	ASoC: Use of_property_read_bool() for boolean properties
	ASoC: fsl_sai: MCLK bind with TX/RX enable bit
	ASoC: fsl_sai: Don't disable bitclock for i.MX8MP
	ALSA: hda/realtek: Add quirk for HP Victus 16-d1xxx to enable mute LED
	ALSA: hda/realtek: Add quirk for mute LEDs on HP ENVY x360 15-eu0xxx
	ALSA: hda/realtek - ALC287 I2S speaker platform support
	ALSA: hda/realtek - ALC287 merge RTK codec with CS CS35L41 AMP
	pinctrl: nuvoton: wpcm450: fix out of bounds write
	drm/msm/dp: do not reinitialize phy unless retry during link training
	drm/msm/dsi: skip the wait for video mode done if not applicable
	drm/msm/dsi: fix irq_of_parse_and_map() error checking
	drm/msm/dpu: change _dpu_plane_calc_bw() to use u64 to avoid overflow
	drm/msm/dp: Add newlines to debug printks
	phy: lynx-28g: cancel the CDR check work item on the remove path
	phy: lynx-28g: lock PHY while performing CDR lock workaround
	phy: lynx-28g: serialize concurrent phy_set_mode_ext() calls to shared registers
	net: dsa: qca8k: fix potential MDIO bus conflict when accessing internal PHYs via management frames
	can: isotp: isotp_sendmsg(): fix TX state detection and wait behavior
	can: sun4i_can: Only show Kconfig if ARCH_SUNXI is set
	arm64: dts: mediatek: mt8195: Set DSU PMU status to fail
	ravb: Fix up dma_free_coherent() call in ravb_remove()
	ravb: Fix use-after-free issue in ravb_tx_timeout_work()
	ieee802154: ca8210: Fix a potential UAF in ca8210_probe
	mlxsw: fix mlxsw_sp2_nve_vxlan_learning_set() return type
	xen-netback: use default TX queue size for vifs
	riscv, bpf: Factor out emit_call for kernel and bpf context
	riscv, bpf: Sign-extend return values
	drm/vmwgfx: fix typo of sizeof argument
	bpf: Fix verifier log for async callback return values
	net: refine debug info in skb_checksum_help()
	net: macsec: indicate next pn update when offloading
	net: phy: mscc: macsec: reject PN update requests
	net/mlx5e: macsec: use update_pn flag instead of PN comparation
	ixgbe: fix crash with empty VF macvlan list
	net/mlx5e: Again mutually exclude RX-FCS and RX-port-timestamp
	net: nfc: fix races in nfc_llcp_sock_get() and nfc_llcp_sock_get_sn()
	net/smc: Fix pos miscalculation in statistics
	pinctrl: renesas: rzn1: Enable missing PINMUX
	nfc: nci: assert requested protocol is valid
	workqueue: Override implicit ordered attribute in workqueue_apply_unbound_cpumask()
	tcp: enforce receive buffer memory limits by allowing the tcp window to shrink
	dmaengine: stm32-mdma: abort resume if no ongoing transfer
	dmaengine: stm32-dma: fix stm32_dma_prep_slave_sg in case of MDMA chaining
	dmaengine: stm32-dma: fix residue in case of MDMA chaining
	dmaengine: stm32-mdma: use Link Address Register to compute residue
	dmaengine: stm32-mdma: set in_flight_bytes in case CRQA flag is set
	usb: xhci: xhci-ring: Use sysdev for mapping bounce buffer
	net: usb: dm9601: fix uninitialized variable use in dm9601_mdio_read
	usb: dwc3: Soft reset phy on probe for host
	usb: cdns3: Modify the return value of cdns_set_active () to void when CONFIG_PM_SLEEP is disabled
	usb: hub: Guard against accesses to uninitialized BOS descriptors
	usb: musb: Get the musb_qh poniter after musb_giveback
	usb: musb: Modify the "HWVers" register address
	iio: pressure: bmp280: Fix NULL pointer exception
	iio: imu: bno055: Fix missing Kconfig dependencies
	iio: adc: imx8qxp: Fix address for command buffer registers
	iio: dac: ad3552r: Correct device IDs
	iio: admv1013: add mixer_vgate corner cases
	iio: pressure: dps310: Adjust Timeout Settings
	iio: pressure: ms5611: ms5611_prom_is_valid false negative bug
	iio: addac: Kconfig: update ad74413r selections
	arm64: dts: mediatek: mt8195-demo: fix the memory size to 8GB
	arm64: dts: mediatek: mt8195-demo: update and reorder reserved memory regions
	drm/atomic-helper: relax unregistered connector check
	drm/amdgpu: add missing NULL check
	drm/amd/display: Don't set dpms_off for seamless boot
	ACPI: resource: Skip IRQ override on ASUS ExpertBook B1402CBA
	ACPI: EC: Add quirk for the HP Pavilion Gaming 15-dk1xxx
	ksmbd: not allow to open file if delelete on close bit is set
	perf/x86/lbr: Filter vsyscall addresses
	x86/cpu: Fix AMD erratum raspberrypi#1485 on Zen4-based CPUs
	mcb: remove is_added flag from mcb_device struct
	thunderbolt: Workaround an IOMMU fault on certain systems with Intel Maple Ridge
	thunderbolt: Check that lane 1 is in CL0 before enabling lane bonding
	thunderbolt: Restart XDomain discovery handshake after failure
	powerpc/47x: Fix 47x syscall return crash
	libceph: use kernel_connect()
	ceph: fix incorrect revoked caps assert in ceph_fill_file_size()
	ceph: fix type promotion bug on 32bit systems
	Input: powermate - fix use-after-free in powermate_config_complete
	Input: psmouse - fix fast_reconnect function for PS/2 mode
	Input: xpad - add PXN V900 support
	Input: i8042 - add Fujitsu Lifebook E5411 to i8042 quirk table
	Input: goodix - ensure int GPIO is in input for gpio_count == 1 && gpio_int_idx == 0 case
	tee: amdtee: fix use-after-free vulnerability in amdtee_close_session
	mctp: perform route lookups under a RCU read-side lock
	nfp: flower: avoid rmmod nfp crash issues
	usb: typec: ucsi: Use GET_CAPABILITY attributes data to set power supply scope
	cgroup: Remove duplicates in cgroup v1 tasks file
	dma-buf: add dma_fence_timestamp helper
	pinctrl: avoid unsafe code pattern in find_pinctrl()
	scsi: ufs: core: Correct clear TM error log
	counter: chrdev: fix getting array extensions
	counter: microchip-tcb-capture: Fix the use of internal GCLK logic
	usb: typec: altmodes/displayport: Signal hpd low when exiting mode
	usb: typec: ucsi: Clear EVENT_PENDING bit if ucsi_send_command fails
	usb: gadget: udc-xilinx: replace memcpy with memcpy_toio
	usb: gadget: ncm: Handle decoding of multiple NTB's in unwrap call
	usb: cdnsp: Fixes issue with dequeuing not queued requests
	x86/alternatives: Disable KASAN in apply_alternatives()
	dmaengine: idxd: use spin_lock_irqsave before wait_event_lock_irq
	dmaengine: mediatek: Fix deadlock caused by synchronize_irq()
	powerpc/8xx: Fix pte_access_permitted() for PAGE_NONE
	powerpc/64e: Fix wrong test in __ptep_test_and_clear_young()
	ALSA: hda/realtek - Fixed two speaker platform
	Linux 6.1.59

Change-Id: Iaae6736993c003cc47f495f275591bbb924f986e
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants