- 03 3月, 2021 40 次提交
-
-
由 Phil Elwell 提交于
raspberrypi inclusion category: feature bugzilla: 50432 -------------------------------- This reverts commit 92516cd9. Thi commit "Bluetooth: Always request for user confirmation for Just Works" prevents BLE devices pairing in (at least) the Raspberry Pi OS GUI. After reverting it, pairing works again. If another solution to the problem is found then this reversion will be removed. See: https://github.com/raspberrypi/linux/issues/4139Signed-off-by: NPhil Elwell <phil@raspberrypi.com> Signed-off-by: NFang Yafen <yafen@iscas.ac.cn> Signed-off-by: NZheng Zengkai <zhengzengkai@huawei.com>
-
由 Phil Elwell 提交于
raspberrypi inclusion category: feature bugzilla: 50432 -------------------------------- This reverts commit ffee202a. The commit "Bluetooth: Always request for user confirmation for Just Works" prevents BLE devices pairing in (at least) the Raspberry Pi OS GUI. After reverting it, pairing works again. Although this companion commit ("... (LE SC)") has not been demonstrated to be problematic, it follows the same logic and therefore could affect some use cases. If another solution to the problem is found then this reversion will be removed. See: https://github.com/raspberrypi/linux/issues/4139Signed-off-by: NPhil Elwell <phil@raspberrypi.com> Signed-off-by: NFang Yafen <yafen@iscas.ac.cn> Signed-off-by: NZheng Zengkai <zhengzengkai@huawei.com>
-
由 Phil Elwell 提交于
raspberrypi inclusion category: feature bugzilla: 50432 -------------------------------- Signed-off-by: NPhil Elwell <phil@raspberrypi.com> Signed-off-by: NFang Yafen <yafen@iscas.ac.cn> Signed-off-by: NZheng Zengkai <zhengzengkai@huawei.com>
-
由 Phil Elwell 提交于
raspberrypi inclusion category: feature bugzilla: 50432 -------------------------------- See: https://github.com/raspberrypi/linux/issues/4180Signed-off-by: NPhil Elwell <phil@raspberrypi.com> Signed-off-by: NFang Yafen <yafen@iscas.ac.cn> Signed-off-by: NZheng Zengkai <zhengzengkai@huawei.com>
-
由 Naushir Patuck 提交于
raspberrypi inclusion category: feature bugzilla: 50432 -------------------------------- The struct imx477 *ctrl parameter is not used in the function imx477_adjust_exposure_range(), so remove it. Signed-off-by: NNaushir Patuck <naush@raspberrypi.com> Signed-off-by: NFang Yafen <yafen@iscas.ac.cn> Signed-off-by: NZheng Zengkai <zhengzengkai@huawei.com>
-
由 Naushir Patuck 提交于
raspberrypi inclusion category: feature bugzilla: 50432 -------------------------------- The only field in this struct that is used is the format code, so replace the struct with this single field. Save the format code in imx477_set_pad_format() when setting up a new mode so that imx477_get_pad_format() performs the right lookup. Otherwise, this caused a bug where the mode lookup occurred on the 12-bit table rather than the 10-bit table. Signed-off-by: NNaushir Patuck <naush@raspberrypi.com> Signed-off-by: NFang Yafen <yafen@iscas.ac.cn> Signed-off-by: NZheng Zengkai <zhengzengkai@huawei.com>
-
由 Naushir Patuck 提交于
raspberrypi inclusion category: feature bugzilla: 50432 -------------------------------- The existing 1012x760 120 fps mode has significant IQ problem using the internal sensor scaler. Replace this mode with a 1332x990 120 fps mode instead. This new mode has a smaller field of view, but does not suffer from the bad IQ of the original mode. Signed-off-by: NNaushir Patuck <naush@raspberrypi.com> Signed-off-by: NFang Yafen <yafen@iscas.ac.cn> Signed-off-by: NZheng Zengkai <zhengzengkai@huawei.com>
-
由 Naushir Patuck 提交于
raspberrypi inclusion category: feature bugzilla: 50432 -------------------------------- The crop height for this mode was set at 2600 lines, it should be 2160 lines instead. Signed-off-by: NNaushir Patuck <naush@raspberrypi.com> Signed-off-by: NFang Yafen <yafen@iscas.ac.cn> Signed-off-by: NZheng Zengkai <zhengzengkai@huawei.com>
-
由 Peter Harper 提交于
raspberrypi inclusion category: feature bugzilla: 50432 -------------------------------- See https://github.com/raspberrypi/linux/issues/4163Signed-off-by: NFang Yafen <yafen@iscas.ac.cn> Signed-off-by: NZheng Zengkai <zhengzengkai@huawei.com>
-
由 pifi-bz 提交于
raspberrypi inclusion category: feature bugzilla: 50432 -------------------------------- Adding overlays for PiFi DAC Zero and PiFi DAC HD. Signed-off-by: NDavid Knell <david.knell@gmail.com> Signed-off-by: NFang Yafen <yafen@iscas.ac.cn> Signed-off-by: NZheng Zengkai <zhengzengkai@huawei.com>
-
由 David Plowman 提交于
raspberrypi inclusion category: feature bugzilla: 50432 -------------------------------- When vblank changes we must modify the exposure range. Also, with this sensor, the effective exposure time implicitly changes when vblank does, so we have to reset it after every vblank update. Signed-off-by: NDavid Plowman <david.plowman@raspberrypi.com> Signed-off-by: NFang Yafen <yafen@iscas.ac.cn> Signed-off-by: NZheng Zengkai <zhengzengkai@huawei.com>
-
由 David Plowman 提交于
raspberrypi inclusion category: feature bugzilla: 50432 -------------------------------- Should now correspond exactly to the datasheet. Signed-off-by: NDavid Plowman <david.plowman@raspberrypi.com> Signed-off-by: NFang Yafen <yafen@iscas.ac.cn> Signed-off-by: NZheng Zengkai <zhengzengkai@huawei.com>
-
由 Naushir Patuck 提交于
raspberrypi inclusion category: feature bugzilla: 50432 -------------------------------- Add support for very long exposures by using the exposure multiplier register. Userland does not need to pass any additional controls to enable long exposures, it simply requests a larger vblank to extend the exposure control range appropriately. Currently, since hblank is fixed, a maximum of approximately 124 seconds of exposure time can be used. In a future change, hblank could also be controlled in userland to give over 200 seconds of exposure time. Signed-off-by: NNaushir Patuck <naush@raspberrypi.com> Signed-off-by: NFang Yafen <yafen@iscas.ac.cn> Signed-off-by: NZheng Zengkai <zhengzengkai@huawei.com>
-
由 Naushir Patuck 提交于
raspberrypi inclusion category: feature bugzilla: 50432 -------------------------------- The V4L2_CID_EXPOSURE_AUTO_PRIORITY was used to let the sensor control frame length (effectively framerate) based on the requested exposure time requested. Remove this feature as it is never used, and goes against how V4L2 likes to handle exposure and vblank controls. Signed-off-by: NNaushir Patuck <naush@raspberrypi.com> Signed-off-by: NFang Yafen <yafen@iscas.ac.cn> Signed-off-by: NZheng Zengkai <zhengzengkai@huawei.com>
-
由 Phil Elwell 提交于
raspberrypi inclusion category: feature bugzilla: 50432 -------------------------------- See: https://github.com/raspberrypi/linux/issues/4144 (from https://github.com/RPi-Distro/repo/issues/229) Signed-off-by: NPhil Elwell <phil@raspberrypi.com> Signed-off-by: NFang Yafen <yafen@iscas.ac.cn> Signed-off-by: NZheng Zengkai <zhengzengkai@huawei.com>
-
由 Phil Elwell 提交于
raspberrypi inclusion category: feature bugzilla: 50432 -------------------------------- If the shutdown process is delayed enough to trigger the shutdown timeout then one or more states in the shutdown sequence might be skipped. Ensure that all LEDs are turned off regardless by explicitly doing so in the shutdown state, as an example of good practices. Signed-off-by: NPhil Elwell <phil@raspberrypi.com> Signed-off-by: NFang Yafen <yafen@iscas.ac.cn> Signed-off-by: NZheng Zengkai <zhengzengkai@huawei.com>
-
由 Phil Elwell 提交于
raspberrypi inclusion category: feature bugzilla: 50432 -------------------------------- The driver is intended to jump directly to a shutdown state in the event of a timeout during shutdown, but the sense of the test was inverted. Signed-off-by: NPhil Elwell <phil@raspberrypi.com> Signed-off-by: NFang Yafen <yafen@iscas.ac.cn> Signed-off-by: NZheng Zengkai <zhengzengkai@huawei.com>
-
由 Phil Elwell 提交于
raspberrypi inclusion category: feature bugzilla: 50432 -------------------------------- Add gpio-fsm sysfs entries under /sys/class/gpio-fsm. For each state machine show the current state, which state (if any) will be entered after a delay, and the current value of that delay. Signed-off-by: NPhil Elwell <phil@raspberrypi.com> Signed-off-by: NFang Yafen <yafen@iscas.ac.cn> Signed-off-by: NZheng Zengkai <zhengzengkai@huawei.com>
-
由 Dave Stevenson 提交于
raspberrypi inclusion category: feature bugzilla: 50432 -------------------------------- DPI hasn't really been used up until now, so the default has been meaningless. In theory we should be able to pass the desired format for the adjacent bridge chip through, but framework seems to be missing for that. As the main device to use DPI is the VGA666 or Adafruit Kippah, both of which use RGB666, change the default to being RGB666 instead of RGB888. Signed-off-by: NDave Stevenson <dave.stevenson@raspberrypi.com> Signed-off-by: NFang Yafen <yafen@iscas.ac.cn> Signed-off-by: NZheng Zengkai <zhengzengkai@huawei.com>
-
由 Dave Stevenson 提交于
raspberrypi inclusion category: feature bugzilla: 50432 -------------------------------- Includes optional use of GPIOs 0&1 / BSC0 for DDC to read the EDID from the display. Signed-off-by: NDave Stevenson <dave.stevenson@raspberrypi.com> Signed-off-by: NFang Yafen <yafen@iscas.ac.cn> Signed-off-by: NZheng Zengkai <zhengzengkai@huawei.com>
-
由 Dave Stevenson 提交于
raspberrypi inclusion category: feature bugzilla: 50432 -------------------------------- VGA666 uses "vga-connector" from DRM_DISPLAY_CONNECTOR, and "dumb-vga-dac" from DRM_SIMPLE_BRIDGE to connect up, so add them to the defconfigs. Signed-off-by: NDave Stevenson <dave.stevenson@raspberrypi.com> Signed-off-by: NFang Yafen <yafen@iscas.ac.cn> Signed-off-by: NZheng Zengkai <zhengzengkai@huawei.com>
-
由 Dave Stevenson 提交于
raspberrypi inclusion category: feature bugzilla: 50432 -------------------------------- VGA666 doesn't use the DE or PCLK signals, therefore there is no point in claiming their use. It's also then possible to use GPIOs 0&1 for DDC to read the EDID from the display. Signed-off-by: NDave Stevenson <dave.stevenson@raspberrypi.com> Signed-off-by: NFang Yafen <yafen@iscas.ac.cn> Signed-off-by: NZheng Zengkai <zhengzengkai@huawei.com>
-
由 John Cox 提交于
raspberrypi inclusion category: feature bugzilla: 50432 -------------------------------- If realloc to increase coeff size fails then attempt to re-allocate the original size. If that also fails then flag a fatal error to abort all further decode. Signed-off-by: NJohn Cox <jc@kynesim.co.uk> Signed-off-by: NFang Yafen <yafen@iscas.ac.cn> Signed-off-by: NZheng Zengkai <zhengzengkai@huawei.com>
-
由 Dom Cobley 提交于
raspberrypi inclusion category: feature bugzilla: 50432 -------------------------------- Signed-off-by: NDom Cobley <popcornmix@gmail.com> Signed-off-by: NFang Yafen <yafen@iscas.ac.cn> Signed-off-by: NZheng Zengkai <zhengzengkai@huawei.com>
-
由 Dave Stevenson 提交于
raspberrypi inclusion category: feature bugzilla: 50432 -------------------------------- Now that we can export deeper colour depths, add in the signalling for HDR metadata. Signed-off-by: NDave Stevenson <dave.stevenson@raspberrypi.com> Signed-off-by: NFang Yafen <yafen@iscas.ac.cn> Signed-off-by: NZheng Zengkai <zhengzengkai@huawei.com>
-
由 Laurentiu Palcu 提交于
raspberrypi inclusion category: feature bugzilla: 50432 -------------------------------- According to CTA-861 specification, HDR static metadata data block allows a sink to indicate which HDR metadata types it supports by setting the SM_0 to SM_7 bits. Currently, only Static Metadata Type 1 is supported and this is indicated by setting the SM_0 bit to 1. However, the connector->hdr_sink_metadata.hdmi_type1.metadata_type is always 0, because hdr_metadata_type() in drm_edid.c checks the wrong bit. This patch corrects the HDMI_STATIC_METADATA_TYPE1 bit position. Signed-off-by: NLaurentiu Palcu <laurentiu.palcu@nxp.com> Signed-off-by: NFang Yafen <yafen@iscas.ac.cn> Signed-off-by: NZheng Zengkai <zhengzengkai@huawei.com>
-
由 Phil Elwell 提交于
raspberrypi inclusion category: feature bugzilla: 50432 -------------------------------- The gpio-fsm property "num-soft-gpios" triggers a kernel DT checker that warns about the lack of #gpio-cells on a random node with the phandle that just happens to match the number of soft GPIOs. Rename the property to "num-swgpios" to avoid the warning. Signed-off-by: NPhil Elwell <phil@raspberrypi.com> Signed-off-by: NFang Yafen <yafen@iscas.ac.cn> Signed-off-by: NZheng Zengkai <zhengzengkai@huawei.com>
-
由 Phil Elwell 提交于
raspberrypi inclusion category: feature bugzilla: 50432 -------------------------------- As of 5.10, the Device Tree parser warns about properties that look like references to "suppliers" of various services. "num-soft-gpios" resembles a declaration of a GPIO called "num-soft", causing the value to be interpreted as a phandle, the owner of which is checked for a "#gpio-cells" property. To avoid this warning, rename the gpio-fsm property to "num-swgpios". Signed-off-by: NPhil Elwell <phil@raspberrypi.com> Signed-off-by: NFang Yafen <yafen@iscas.ac.cn> Signed-off-by: NZheng Zengkai <zhengzengkai@huawei.com>
-
由 Dave Stevenson 提交于
raspberrypi inclusion category: feature bugzilla: 50432 -------------------------------- This reverts commit 93a3b097c467bd5efc1ae3a271c336fdad3b2108. GIC interrupt 117 is shared with the HDMI interrupt controller and all the standard BSC I2C controllers. Whilst the BSC driver flags the interrupt as shared, there doesn't appear to be an easy way to flag the controller as being on a shared parent interrupt. Revert to polling the I2C controllers. Signed-off-by: NDave Stevenson <dave.stevenson@raspberrypi.com> Signed-off-by: NFang Yafen <yafen@iscas.ac.cn> Signed-off-by: NZheng Zengkai <zhengzengkai@huawei.com>
-
由 Dave Stevenson 提交于
raspberrypi inclusion category: feature bugzilla: 50432 -------------------------------- This reverts commit c765fd45856a34b9e46daa9263faeafe006c3985. bsc_intr is being removed again as it causes issues. Signed-off-by: NDave Stevenson <dave.stevenson@raspberrypi.com> Signed-off-by: NFang Yafen <yafen@iscas.ac.cn> Signed-off-by: NZheng Zengkai <zhengzengkai@huawei.com>
-
由 Mathias Anhalt 提交于
raspberrypi inclusion category: feature bugzilla: 50432 -------------------------------- Signed-off-by: NMathias Anhalt <mathiasanhalt@web.de> Signed-off-by: NFang Yafen <yafen@iscas.ac.cn> Signed-off-by: NZheng Zengkai <zhengzengkai@huawei.com>
-
由 Mathias Anhalt 提交于
raspberrypi inclusion category: feature bugzilla: 50432 -------------------------------- Signed-off-by: NMathias Anhalt <mathiasanhalt@web.de> Signed-off-by: NFang Yafen <yafen@iscas.ac.cn> Signed-off-by: NZheng Zengkai <zhengzengkai@huawei.com>
-
由 Joerg Schambacher 提交于
raspberrypi inclusion category: feature bugzilla: 50432 -------------------------------- Adds 2 msecs delay when switching between oscillators to allow correct PLL settling. Thanks to Clive Messer for the support! Signed-off-by: NJoerg Schambacher <joerg@hifiberry.com> Signed-off-by: NFang Yafen <yafen@iscas.ac.cn> Signed-off-by: NZheng Zengkai <zhengzengkai@huawei.com>
-
由 David Plowman 提交于
raspberrypi inclusion category: feature bugzilla: 50432 -------------------------------- Each supported format now includes a mask showing the allowed colour spaces, as well as a default colour space for when one was not specified. Additionally we translate the colour space to mmal format and pass it over to the VideoCore. Signed-off-by: NDavid Plowman <david.plowman@raspberrypi.com> Signed-off-by: NFang Yafen <yafen@iscas.ac.cn> Signed-off-by: NZheng Zengkai <zhengzengkai@huawei.com>
-
由 David Knell 提交于
raspberrypi inclusion category: feature bugzilla: 50432 -------------------------------- Signed-off-by: NDavid Knell <david.knell@gmail.com> Signed-off-by: NFang Yafen <yafen@iscas.ac.cn> Signed-off-by: NZheng Zengkai <zhengzengkai@huawei.com>
-
由 David Knell 提交于
raspberrypi inclusion category: feature bugzilla: 50432 -------------------------------- Signed-off-by: NDavid Knell <david.knell@gmail.com> Signed-off-by: NFang Yafen <yafen@iscas.ac.cn> Signed-off-by: NZheng Zengkai <zhengzengkai@huawei.com>
-
由 Dave Stevenson 提交于
raspberrypi inclusion category: feature bugzilla: 50432 -------------------------------- The cherry-pick of the patch that added the greyworld AWB mode was incomplete. Fix it up. Fixes: b3ef481fe243 "staging: bcm2835-camera: Add greyworld AWB mode" Signed-off-by: NDave Stevenson <dave.stevenson@raspberrypi.com> Signed-off-by: NFang Yafen <yafen@iscas.ac.cn> Signed-off-by: NZheng Zengkai <zhengzengkai@huawei.com>
-
由 Ivan Zaentsev 提交于
raspberrypi inclusion category: feature bugzilla: 50432 -------------------------------- commit 2f6055c2 upstream. DS18B20 device driver returns an incorrect value for negative temperatures due to a missing sign-extension in w1_DS18B20_convert_temp(). Fix by using s16 temperature value when converting to int. See: https://github.com/raspberrypi/linux/issues/4124 Fixes: 9ace0b4d (w1: w1_therm: Add support for GXCAS GX20MH01 device.) Cc: stable <stable@vger.kernel.org> Reported-by: NPaweł Marciniak <sunwire@gmail.com> Signed-off-by: NIvan Zaentsev <ivan.zaentsev@wirenboard.ru> Link: https://lore.kernel.org/r/20210121093021.224764-1-ivan.zaentsev@wirenboard.ruSigned-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: NFang Yafen <yafen@iscas.ac.cn> Signed-off-by: NZheng Zengkai <zhengzengkai@huawei.com>
-
由 Dom Cobley 提交于
raspberrypi inclusion category: feature bugzilla: 50432 -------------------------------- Now handled through aon_intr Signed-off-by: NDom Cobley <popcornmix@gmail.com> Signed-off-by: NFang Yafen <yafen@iscas.ac.cn> Signed-off-by: NZheng Zengkai <zhengzengkai@huawei.com>
-
由 Maxime Ripard 提交于
raspberrypi inclusion category: feature bugzilla: 50432 -------------------------------- Unlike the previous generations, the HSM clock limitation is way above what we can reach without scrambling, so let's move the maximum frequency we support to the maximum clock frequency without scrambling. Reviewed-by: NDave Stevenson <dave.stevenson@raspberrypi.com> Signed-off-by: NMaxime Ripard <maxime@cerno.tech> Signed-off-by: NFang Yafen <yafen@iscas.ac.cn> Signed-off-by: NZheng Zengkai <zhengzengkai@huawei.com>
-