[PATCH] drivers: depend on instead of select BACKLIGHT_CLASS_DEVICE and ACPI_VIDEO

2014-10-17 Thread Jani Nikula
: Benjamin Herrenschmidt b...@kernel.crashing.org Cc: Jens Frederich jfreder...@gmail.com Cc: Daniel Drake d...@laptop.org Cc: Jon Nettleton jon.nettle...@gmail.com Cc: Jean-Christophe Plagniol-Villard plagn...@jcrosoft.com Cc: Tomi Valkeinen tomi.valkei...@ti.com Signed-off-by: Jani Nikula jani.nik

Re: [PATCH] drivers: depend on instead of select BACKLIGHT_CLASS_DEVICE and ACPI_VIDEO

2014-10-27 Thread Jani Nikula
On Wed, 22 Oct 2014, Tomi Valkeinen tomi.valkei...@ti.com wrote: On 18/10/14 00:13, Jani Nikula wrote: Documentation/kbuild/kconfig-language.txt warns to use select with care, and in general use select only for non-visible symbols and for symbols with no dependencies, because select will force

Re: [PATCH] drivers: depend on instead of select BACKLIGHT_CLASS_DEVICE and ACPI_VIDEO

2014-10-29 Thread Jani Nikula
the option depending on it is built-in. Obviously something that's built-in can't depend on something built as a module. BR, Jani. -- Jani Nikula, Intel Open Source Technology Center -- To unsubscribe from this list: send the line unsubscribe linux-usb in the body of a message to majord

Re: [Intel-gfx] [PATCH 1/3] pinctrl: Intel: add RX invertion config

2016-03-19 Thread Jani Nikula
ner (Felipe) is going to say > about this. Adding Felipe's current address. Considering the new domain part of the address, I'm hopeful we can sort this out. ;) BR, Jani. > > Yours, > Linus Walleij > ___ > Intel-gfx mailing list > intel-...@lists.freedesktop.org > https://lists.freedesktop.org/mailman/listinfo/intel-gfx -- Jani Nikula, Intel Open Source Technology Center -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [RESEND PATCH v2 4/4] usb: doc: add document for USB3 debug port usage

2016-10-20 Thread Jani Nikula
On Thu, 20 Oct 2016, Lu Baolu <baolu...@linux.intel.com> wrote: > Hi Jani, > > On 10/19/2016 03:48 PM, Jani Nikula wrote: >> On Wed, 19 Oct 2016, Lu Baolu <baolu...@linux.intel.com> wrote: >>> Add Documentation/usb/usb3-debug-port.txt. This document includes &g

Re: [RESEND PATCH v3 4/4] usb: doc: add document for USB3 debug port usage

2016-10-25 Thread Jani Nikula
= start of bash scripts = > + #!/bin/bash > + > + while true ; do > + while [ ! -d /sys/class/tty/ttyUSB0 ] ; do > + : > + done > + cat /dev/ttyUSB0 >> xdbc.log > + done > + = end of bash scripts === > + > +You should be able to see the early boot message in xdbc.log. -- Jani Nikula, Intel Open Source Technology Center -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [PATCH] Documentation: usb: the dumb conversion to Sphinx

2016-10-20 Thread Jani Nikula
type (USBDEVFS_URB_TYPE_\*), endpoint > +(number, masked with USB_DIR_IN as appropriate), buffer and length, > +and a user "context" value serving to uniquely identify each request. > +(It's usually a pointer to per-request data.) Flags can modify requests > +(not as many as supported for kernel drivers). > + > +Each request can specify a realtime signal number (between SIGRTMIN and > +SIGRTMAX, inclusive) to request a signal be sent when the request > +completes. > + > +When usbfs returns these urbs, the status value is updated, and the > +buffer may have been modified. Except for isochronous transfers, the > +actual_length is updated to say how many bytes were transferred; if the > +USBDEVFS_URB_DISABLE_SPD flag is set ("short packets are not OK"), if > +fewer bytes were read than were requested then you get an error report. > + > +:: > + > +struct usbdevfs_iso_packet_desc { > +unsigned int length; > +unsigned int actual_length; > +unsigned int status; > +}; > + > +struct usbdevfs_urb { > +unsigned chartype; > +unsigned charendpoint; > +int status; > +unsigned int flags; > +void *buffer; > +int buffer_length; > +int actual_length; > +int start_frame; > +int number_of_packets; > +int error_count; > +unsigned int signr; > +void *usercontext; > +struct usbdevfs_iso_packet_desc iso_frame_desc[]; > +}; > + > +For these asynchronous requests, the file modification time reflects > +when the request was initiated. This contrasts with their use with the > +synchronous requests, where it reflects when requests complete. > + > +USBDEVFS_DISCARDURB > +*TBS* File modification time is not updated by this request. > + > +USBDEVFS_DISCSIGNAL > +*TBS* File modification time is not updated by this request. > + > +USBDEVFS_REAPURB > +*TBS* File modification time is not updated by this request. > + > +USBDEVFS_REAPURBNDELAY > +*TBS* File modification time is not updated by this request. > + > +USBDEVFS_SUBMITURB > +*TBS* -- Jani Nikula, Intel Open Source Technology Center -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [RESEND PATCH v2 4/4] usb: doc: add document for USB3 debug port usage

2016-10-19 Thread Jani Nikula
ng in the output. > + > += start of bash scripts = > +#!/bin/bash > + > +while true ; do > + while [ ! -d /sys/class/tty/ttyUSB0 ] ; do > + : > + done > + cat /dev/ttyUSB0 >> xdbc.log > +done > += end of bash scripts === > + > +You should be able to see the early boot message in xdbc.log. -- Jani Nikula, Intel Open Source Technology Center -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [PATCH v2 01/22] tmplcvt: make the tool more robust

2017-03-30 Thread Jani Nikula
BR, Jani. > + echo "$0 " > + exit > +fi > + > +DIR=$(dirname $0) > > in=$1 > rst=$2 > tmp=$rst.tmp > > cp $in $tmp > -sed --in-place -f convert_template.sed $tmp > +sed --in-place -f $DIR/convert_template.sed $tmp > pandoc -s -S -

Re: [PATCH 02/22] docs-rst: convert usb docbooks to ReST

2017-03-30 Thread Jani Nikula
I'm in favor of just bulk converting the rest of the .tmpl files using Documentation/sphinx/tmplcvt, get rid of DocBook and be done with it, and have the crowds focus on rst. BR, Jani. -- Jani Nikula, Intel Open Source Technology Center -- To unsubscribe from this list: send the line &

Re: [PATCH 04/22] gadget.rst: Enrich its ReST representation and add kernel-doc tag

2017-03-30 Thread Jani Nikula
: > + > Peripheral Controller Drivers > = > > @@ -475,7 +496,7 @@ can also benefit non-OTG products. > - Also on the host side, a driver must support the OTG "Targeted > Peripheral List". That's just a whitelist, used to reject perip

Re: [PATCH 04/22] gadget.rst: Enrich its ReST representation and add kernel-doc tag

2017-03-30 Thread Jani Nikula
On Thu, 30 Mar 2017, Jani Nikula <jani.nik...@linux.intel.com> wrote: > On Wed, 29 Mar 2017, Mauro Carvalho Chehab <mche...@s-opensource.com> wrote: >> The pandoc conversion is not perfect. Do handwork in order to: >> >> - add a title to this chapter; >> -

Re: [PATCH v1] ACPI: Switch to use generic UUID API

2017-05-04 Thread Jani Nikula
ndle, intel_dsm_guid, INTEL_DSM_REVISION_ID, > + if (!acpi_check_dsm(dhandle, _dsm_guid, INTEL_DSM_REVISION_ID, > 1 << INTEL_DSM_FN_PLATFORM_MUX_INFO)) { > DRM_DEBUG_KMS("no _DSM method for intel device\n"); > ret

Re: [-next PATCH 0/4] sysfs and DEVICE_ATTR_

2017-12-19 Thread Jani Nikula
On Tue, 19 Dec 2017, Joe Perches <j...@perches.com> wrote: > drivers/gpu/drm/i915/i915_sysfs.c | 12 ++-- For i915, Acked-by: Jani Nikula <jani.nik...@intel.com> -- Jani Nikula, Intel Open Source Technology Center -- To unsubscribe from this list: send the li

Re: [PATCH] Documentation: typec.rst: Mark ascii art as a comment

2018-04-06 Thread Jani Nikula
> Illustration of the muxes behind a connector that supports an alternate mode: > > - > +.. > | Connector | > > |

Re: [PATCH v2] Documentation: typec.rst: Use literal-block element with ascii art

2018-04-06 Thread Jani Nikula
> Fixes: bdecb33af34f ("usb: typec: API for controlling USB Type-C > Multiplexers") > Signed-off-by: Heikki Krogerus <heikki.kroge...@linux.intel.com> Reviewed-and-tested-by: Jani Nikula <jani.nik...@intel.com> > --- > Changed since v1: > - Using literal-bl

Re: [PATCH v2] Documentation: typec.rst: Use literal-block element with ascii art

2018-04-25 Thread Jani Nikula
> -Illustration of the muxes behind a connector that supports an alternate mode: > +Illustration of the muxes behind a connector that supports an alternate > mode:: > > > | Connector | --