Re: [PATCH v7 0/2] Add initial support for slimport anx7625

2020-02-25 Thread Xin Ji
On Tue, Feb 25, 2020 at 10:42:00AM +0300, Dan Carpenter wrote:
> On Tue, Feb 25, 2020 at 02:11:39PM +0800, Xin Ji wrote:
> > Hi all,
> > 
> > The following series add initial support for the Slimport ANX7625 
> > transmitter, a
> > ultra-low power Full-HD 4K MIPI to DP transmitter designed for portable 
> > device.
> > 
> > This is the initial version, any mistakes, please let me know, I will fix 
> > it in
>   ^^^
> > the next series.
> 
> This is actually the v7 version, but the patch zero cover letter hasn't
> been updated.  :P  The last time anyone responded to these patches was
> to point out three simple bugs which you fixed in v4 last November.
Sorry, I missed it, I'll resend the cover letter.
> 
> What changed in this version?  My guess is that nothing changed and you
> are just prodding us to re-review it...  Feel free to say that also
> because we can't read your mind.
I added a new bridge interface "mode_fixup" for processing critical
timing. And add MIPI RX tolerance by setting register 0x1B to 0x3D.
> 
> regards,
> dan carpenter
___
devel mailing list
de...@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel


[PATCH v7 0/2] Add initial support for slimport anx7625

2020-02-25 Thread Xin Ji
Hi all,

The following series add support for the Slimport ANX7625 transmitter, a
ultra-low power Full-HD 4K MIPI to DP transmitter designed for portable device.

This is the v7 version, any mistakes, please let me know, I will fix it in
the next series. This series fix critical timing(eg:odd hfp/hbp) in "mode_fixup"
interface, enlarge MIPI RX tolerance by setting register MIPI_DIGITAL_ADJ_1 to
0x3D.

Thanks,
Xin


Xin Ji (2):
  dt-bindings: drm/bridge: anx7625: MIPI to DP transmitter binding
  drm/bridge: anx7625: Add anx7625 MIPI DSI/DPI to DP bridge driver

 .../bindings/display/bridge/anx7625.yaml   |   91 +
 drivers/gpu/drm/bridge/Makefile|2 +-
 drivers/gpu/drm/bridge/analogix/Kconfig|6 +
 drivers/gpu/drm/bridge/analogix/Makefile   |1 +
 drivers/gpu/drm/bridge/analogix/anx7625.c  | 2172 
 drivers/gpu/drm/bridge/analogix/anx7625.h  |  410 
 6 files changed, 2681 insertions(+), 1 deletion(-)
 create mode 100644 
Documentation/devicetree/bindings/display/bridge/anx7625.yaml
 create mode 100644 drivers/gpu/drm/bridge/analogix/anx7625.c
 create mode 100644 drivers/gpu/drm/bridge/analogix/anx7625.h

-- 
2.7.4

___
devel mailing list
de...@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel


[PATCH v2] staging: iio: update TODO

2020-02-25 Thread Rohit Sarkar
Since there are no uses of the old GPIO API, remove the item from the
TODO and some new items.

Changes from v1:
Add work item mentioned by Alexandru in 
https://marc.info/?l=linux-iio&m=158261515624212&w=2

Signed-off-by: Rohit Sarkar 
---
 drivers/staging/iio/TODO | 18 --
 1 file changed, 12 insertions(+), 6 deletions(-)

diff --git a/drivers/staging/iio/TODO b/drivers/staging/iio/TODO
index 1b8ebf2c1b69..e54510c2ef5f 100644
--- a/drivers/staging/iio/TODO
+++ b/drivers/staging/iio/TODO
@@ -1,11 +1,17 @@
-2018-04-15
+2020-02-25
 
-All affected drivers:
-Convert all uses of the old GPIO API from  to the
-GPIO descriptor API in  and look up GPIO
-lines from device tree, ACPI or board files, board files should
-use .
+- Documentation
+  - Binding docs for devices that are obviously used via device tree
+  - Yaml conversions for abandoned drivers
+  - ABI Documentation
+  - Audit driviers/iio/staging/Documentation
 
+- Replace iio_dev->mlock by either a local lock or use iio_claim_direct.
+  (Requires analysis of the purpose of the lock.)
+
+- Converting drivers from device tree centric to more generic property handlers
+  Refactor old platform_data constructs from drivers and convert it to state
+  struct and using property handlers and readers.
 
 ADI Drivers:
 CC the device-drivers-de...@blackfin.uclinux.org mailing list when
-- 
2.23.0.385.gbc12974a89

___
devel mailing list
de...@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel


Re: [RESEND PATCH v3 02/17] media: v4l2-fwnode: Pass notifier to v4l2_async_register_fwnode_subdev()

2020-02-25 Thread Sakari Ailus
Hi Steve,

On Sat, Feb 15, 2020 at 11:41:21AM -0800, Steve Longerbeam wrote:
> Instead of allocating a notifier in v4l2_async_register_fwnode_subdev(),
> have the caller provide one. This allows the caller to implement
> notifier ops (bind, unbind).
> 
> The caller is now responsible for first initializing its notifier with a
> call to v4l2_async_notifier_init().
> 
> Signed-off-by: Steve Longerbeam 

Instead of improving v4l2_async_register_fwnode_subdev(), could you convert
the users (IMX driver in this case) to call the preferred APIs instead? As
the lines below show, v4l2_async_register_fwnode_subdev() has only two
users left --- the other one of which is the IMX driver. After converting
these two, we could just remove this API.

See e.g. drivers/media/pci/intel/ipu3/ipu3-cio2.c and
drivers/media/platform/omap3isp/isp.c for examples.

> ---
> Changes in v3:
> - added the missing calls to unregister/cleanup the new subdev notifiers.
>   Reported by Rui Silva.
> ---
>  drivers/media/platform/video-mux.c |  8 +++-
>  drivers/media/v4l2-core/v4l2-fwnode.c  | 11 +--
>  drivers/staging/media/imx/imx6-mipi-csi2.c |  7 ++-
>  drivers/staging/media/imx/imx7-media-csi.c |  7 ++-
>  drivers/staging/media/imx/imx7-mipi-csis.c |  9 -
>  include/media/v4l2-fwnode.h| 12 
>  6 files changed, 36 insertions(+), 18 deletions(-)

-- 
Kind regards,

Sakari Ailus
___
devel mailing list
de...@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel


Re:Reply ok{{{{

2020-02-25 Thread Ms. Reem
Hello,

My name is Reem Ebrahim Al-Hashimi, I am the "Minister of state and Petroleum" 
also "Minister of State for International 

Cooperation" in UAE.  I write to solicit for your partnership in claiming of 
$47Million from a Financial Home in Cambodia.

The aforementioned fund $47 Million is my share percentage from my Oil/Gas deal 
with Cambodia/Vietnam Government within  

2013/2014, influentially I don't want my government to know about the fund. If 
this proposal interests you, let me know by 

sending me an email and I will send to you detailed Information on how this 
business would be successfully transacted. Be 

informed that nobody knows about the secret of this fund except me and I know 
how to carry out the entire transaction.

Furthermore, as a Minister of Petroleum, I am not allowed to be part of such a 
deal, because it's against my country's 

professional practice policy. So I am compelled to ask that you will stand on 
my behalf and receive this fund into any 

account that is solely controlled by you.

I will compensate you with 30% of the total amount involved as gratification 
for being my partner in the transfer. Reply 

to my private email as stated: reemal-hash...@yandex.com

Regards,
Reem Ebrahim Al-Hashimi
___
devel mailing list
de...@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel


[PATCH] staging: exfat: remove symlink feature : Additional patch

2020-02-25 Thread Tetsuhiro Kohada
Completely remove symlink codes and definitions.
In the previous patch, it was not completely removed.

Signed-off-by: Tetsuhiro Kohada 
---
 drivers/staging/exfat/exfat.h   |  3 ---
 drivers/staging/exfat/exfat_core.c  |  3 ---
 drivers/staging/exfat/exfat_super.c | 27 ---
 3 files changed, 33 deletions(-)

diff --git a/drivers/staging/exfat/exfat.h b/drivers/staging/exfat/exfat.h
index 4a0a481fe010..cd3479fc78ba 100644
--- a/drivers/staging/exfat/exfat.h
+++ b/drivers/staging/exfat/exfat.h
@@ -63,7 +63,6 @@
 #define TYPE_VOLUME0x0103
 #define TYPE_DIR   0x0104
 #define TYPE_FILE  0x011F
-#define TYPE_SYMLINK   0x015F
 #define TYPE_CRITICAL_SEC  0x0200
 #define TYPE_STREAM0x0201
 #define TYPE_EXTEND0x0202
@@ -198,13 +197,11 @@ static inline u16 get_row_index(u16 i)
 #define ATTR_VOLUME0x0008
 #define ATTR_SUBDIR0x0010
 #define ATTR_ARCHIVE   0x0020
-#define ATTR_SYMLINK   0x0040
 #define ATTR_EXTEND0x000F
 #define ATTR_RWMASK0x007E
 
 /* file creation modes */
 #define FM_REGULAR  0x00
-#define FM_SYMLINK  0x40
 
 #define NUM_UPCASE  2918
 
diff --git a/drivers/staging/exfat/exfat_core.c 
b/drivers/staging/exfat/exfat_core.c
index d30dc050411e..941094b08dd9 100644
--- a/drivers/staging/exfat/exfat_core.c
+++ b/drivers/staging/exfat/exfat_core.c
@@ -844,9 +844,6 @@ static void exfat_set_entry_type(struct dentry_t *p_entry, 
u32 type)
} else if (type == TYPE_FILE) {
ep->type = 0x85;
SET16_A(ep->attr, ATTR_ARCHIVE);
-   } else if (type == TYPE_SYMLINK) {
-   ep->type = 0x85;
-   SET16_A(ep->attr, ATTR_ARCHIVE | ATTR_SYMLINK);
}
 }
 
diff --git a/drivers/staging/exfat/exfat_super.c 
b/drivers/staging/exfat/exfat_super.c
index c7bc07e91c45..6f3b72eb999d 100644
--- a/drivers/staging/exfat/exfat_super.c
+++ b/drivers/staging/exfat/exfat_super.c
@@ -320,8 +320,6 @@ static inline mode_t exfat_make_mode(struct exfat_sb_info 
*sbi, u32 attr,
 
if (attr & ATTR_SUBDIR)
return (mode & ~sbi->options.fs_dmask) | S_IFDIR;
-   else if (attr & ATTR_SYMLINK)
-   return (mode & ~sbi->options.fs_dmask) | S_IFLNK;
else
return (mode & ~sbi->options.fs_fmask) | S_IFREG;
 }
@@ -2399,24 +2397,6 @@ static const struct inode_operations 
exfat_dir_inode_operations = {
 /*==*/
 /*  File Operations */
 /*==*/
-static const char *exfat_get_link(struct dentry *dentry, struct inode *inode,
- struct delayed_call *done)
-{
-   struct exfat_inode_info *ei = EXFAT_I(inode);
-
-   if (ei->target) {
-   char *cookie = ei->target;
-
-   if (cookie)
-   return (char *)(ei->target);
-   }
-   return NULL;
-}
-
-static const struct inode_operations exfat_symlink_inode_operations = {
-   .get_link = exfat_get_link,
-};
-
 static int exfat_file_release(struct inode *inode, struct file *filp)
 {
struct super_block *sb = inode->i_sb;
@@ -2688,13 +2668,6 @@ static int exfat_fill_inode(struct inode *inode, struct 
file_id_t *fid)
i_size_write(inode, info.Size);
EXFAT_I(inode)->mmu_private = i_size_read(inode);
set_nlink(inode, info.num_subdirs);
-   } else if (info.attr & ATTR_SYMLINK) { /* symbolic link */
-   inode->i_generation |= 1;
-   inode->i_mode = exfat_make_mode(sbi, info.attr, 0777);
-   inode->i_op = &exfat_symlink_inode_operations;
-
-   i_size_write(inode, info.Size);
-   EXFAT_I(inode)->mmu_private = i_size_read(inode);
} else { /* regular file */
inode->i_generation |= 1;
inode->i_mode = exfat_make_mode(sbi, info.attr, 0777);
-- 
2.25.1

___
devel mailing list
de...@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel


Re: [PATCH] staging: exfat: remove symlink feature : Additional patch

2020-02-25 Thread Valdis Klētnieks
On Wed, 26 Feb 2020 15:37:46 +0900, Tetsuhiro Kohada said:
> Completely remove symlink codes and definitions.

> In the previous patch, it was not completely removed.

Then this should have been [PATCH v2], and the fixed version [PATCH v3]

> Signed-off-by: Tetsuhiro Kohada 
> ---
And right in here there should be something like this:

v3: fixed subject line
v2: previous patch didn't completely remove it

>  drivers/staging/exfat/exfat.h   |  3 ---
>  drivers/staging/exfat/exfat_core.c  |  3 ---
>  drivers/staging/exfat/exfat_super.c | 27 ---
>  3 files changed, 33 deletions(-)
>
> diff --git a/drivers/staging/exfat/exfat.h b/drivers/staging/exfat/exfat.h
> index 4a0a481fe010..cd3479fc78ba 100644




pgpENMwsx56Gg.pgp
Description: PGP signature
___
devel mailing list
de...@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel