Re: [PATCH 2/2] drm/aspeed: Use dt matching for default register values

2021-02-02 Thread Jeremy Kerr
e_t dac_mux_show(struct device *dev, > struct device_attribute *attr, c > u32 reg; > int rc; >   > -   rc = regmap_read(priv->scu, ASPEED_SCU_MISC_CTRL, ®); > +   rc = regmap_read(priv->scu, priv->dac_reg, ®); >     if (rc) >   

Re: [PATCH 1/2] drm/aspeed: Look up syscon by phandle

2021-02-02 Thread Jeremy Kerr
Hi Joel, Sounds like a good idea! One comment though: > @@ -111,10 +112,13 @@ static int aspeed_gfx_load(struct drm_device *drm) > if (IS_ERR(priv->base)) > return PTR_ERR(priv->base); >   > -   priv->scu = syscon_regmap_lookup_by_compatible("aspeed,ast2500-scu"); > + 

Re: [PATCH] drm/aspeed: Fix vga_pw sysfs output

2021-11-19 Thread Jeremy Kerr
ut > explaining why. This breaks the existing userspace, which is looking > for 0xa8 in the lower byte. > > Change our implementation to expose the entire register. As a userspace consumer of this: Reviewed-by: Jeremy Kerr Thanks! Jeremy

[PATCH] fbcon: use default if cursor blink interval is not valid

2016-05-19 Thread Jeremy Kerr
7;re seeing with the ast driver on OpenPOWER machines, thanks! Acked-by: Jeremy Kerr Cheers, Jeremy

Re: [PATCH 00/17] Introduce and use generic parity32/64 helper

2025-02-24 Thread Jeremy Kerr
Hi Kuan-Wei, > Several parts of the kernel contain redundant implementations of parity > calculations for 32-bit and 64-bit values. Introduces generic > parity32() and parity64() helpers in bitops.h, providing a standardized > and optimized implementation.  More so than __builtin_parity() ? I'm

Re: [PATCH v3 00/16] Introduce and use generic parity16/32/64 helper

2025-04-04 Thread Jeremy Kerr
Hi Yuri & Kuan-Wei: > Thank you for sharing your opinion on this fixed parity(). Your > arguments may or may not be important, depending on what existing > users actually need. Unfortunately, Kuan-Wei didn't collect > performance numbers and opinions from those proposed users. For the fsi-i2c sid

Re: [PATCH v3 00/16] Introduce and use generic parity16/32/64 helper

2025-04-04 Thread Jeremy Kerr
Hi Kuan-Wei, > Thanks for your feedback. No problem! > IIUC, from the fsi-i2c perspective, parity efficiency isn't a major > concern, Yes > but you still prefer optimizing with methods like __builtin_parity(). No, it's not really about optimisation. In the case of this driver, my preference w