[PATCH v4] i2c/pasemi: PASemi I2C controller IRQ enablement

2022-11-05 Thread Arminder Singh
should the need arise. This version of the patch has been tested on an M1 Ultra Mac Studio, as well as an M1 MacBook Pro, and userspace launches successfully while using the IRQ path for I2C transactions. Signed-off-by: Arminder Singh --- This version of the patch fixes some reliability issues brought

Re: [PATCH v3] i2c/pasemi: PASemi I2C controller IRQ enablement

2022-11-01 Thread Arminder Singh
Thanks Hector! Acknowledged the need to change to a 100ms delay, will be addressed/changed in v4 of the patch. Thanks, Arminder

Re: [PATCH v3] i2c/pasemi: PASemi I2C controller IRQ enablement

2022-11-01 Thread Arminder Singh
Don't worry I have not forgotten about the patch! I am working on a v4, however I just got pretty busy with real life things so I ended up putting this aside for a bit. v4 of the patch should be ready by the end of the week assuming everything goes well. Thanks, Arminder

[PATCH v3] i2c/pasemi: PASemi I2C controller IRQ enablement

2022-10-06 Thread Arminder Singh
should the need arise. Signed-off-by: Arminder Singh --- This version of the patch has been tested on an M1 Ultra Mac Studio, as well as an M1 MacBook Pro, and userspace launches successfully while using the IRQ path for I2C transactions. This version of the patch only contains fixes to the

Re: [PATCH v2] i2c-pasemi: PASemi I2C controller IRQ enablement

2022-10-02 Thread Arminder Singh
Hi, > #define REG_MTXFIFO 0x00 > #define REG_MRXFIFO 0x04 > #define REG_SMSTA0x14 > +#define REG_IMASK 0x18 > This doesn't seem to be aligned correctly, this file seems to use a tab > to separate the register name and the offset and you used spaces here. > @@ -15,7 +16,11 @@ struct pa

[PATCH v2] i2c/pasemi: PASemi I2C controller IRQ enablement

2022-10-02 Thread Arminder Singh
: Arminder Singh Signed-off-by: Arminder Singh --- Changes from v1: - moved completion setup from pasemi_platform_i2c_probe to pasemi_i2c_common_probe to allow PASemi and Apple platforms to share common completion setup code in case PASemi hardware gets IRQ support added - initialized

[PATCH] i2c: pasemi: Add IRQ support for Apple Silicon

2022-08-20 Thread Arminder Singh
nd all critiques of the patch would be well appreciated. Signed-off-by: Arminder Singh --- drivers/i2c/busses/i2c-pasemi-core.c | 29 drivers/i2c/busses/i2c-pasemi-core.h | 5 drivers/i2c/busses/i2c-pasemi-platform.c | 8 +++ 3 files changed, 37