Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp275352ybe; Mon, 2 Sep 2019 01:08:05 -0700 (PDT) X-Google-Smtp-Source: APXvYqw0pxMu5wPXS8NBLZnruJYu9B1PCo7/W+LfpGvmtope7eUD9B1fMqK1+9J28clJG7tdosEn X-Received: by 2002:a17:90a:6504:: with SMTP id i4mr11622109pjj.13.1567411684961; Mon, 02 Sep 2019 01:08:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567411684; cv=none; d=google.com; s=arc-20160816; b=b/dWWU6esWC3zwc2rRzY+WqYxDfGlZwHs2WbOF6tFVuXjhyPLm+NdqUOvh08dj+V75 KORpcs5kNrzhmxyrVlrsJwXEuwEyJIs9IEyu1Mnu4qUW4Yl//HcXkzQOZD4+t2OCZ2VA olo387AWbJhbtrFeALkIFmh2CeunwMkP7e1BN5lB4STQfaXyJu3N+jWSJyt906zw++5M WoBh2fd1hnc0VMAopIOWrNuIDiJkcsJnsdsL9b8Q63IUpuHSS/uXJJ76qP/L4GkPEZag 0YQZBsPGo0Z72vaoIet5jOGGPNR55wiePnOvFtZx+kM3seRRlh0gMLp7UPRNJTKPnlnb M/0w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=Zl8M9uDItLzdENOuFL3+RJvfJo8j1getiT2zkstbOfA=; b=qhIEqcSuXbSFWwU4Tfx0mv8oAkQ9gA5zQIIhApgKZMDTqjrCbecl2WHepsPI/E34CD U8GFXfUC0m7/56pmY94PNxR7lUOhTzcHOnImCJOj5QbyrfOkxdAP2PY+o6j56Y4MNRSk sbFtDQrV4Ww0WF9sh+8w1JMbP2VvOuoXCDgGBBd9c79GCoggNAtQhy7ABRpsu0UnasDF cpmjDMJgLGr9gllXKKk/+TQ4swggAX+1VaGBwjE/1E4x7H2wHN7ymnnZsvL3hHlhl8Mu V4C9C9DMts6M0EGEvHBiXQOy4/ltDMcjKgPXqkoqyozS3qk3AqEOBFCUdqgw4j38dPUr 0yrw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y12si13915554pfg.260.2019.09.02.01.07.48; Mon, 02 Sep 2019 01:08:04 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729995AbfIBIHA (ORCPT + 99 others); Mon, 2 Sep 2019 04:07:00 -0400 Received: from atrey.karlin.mff.cuni.cz ([195.113.26.193]:59199 "EHLO atrey.karlin.mff.cuni.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729626AbfIBIHA (ORCPT ); Mon, 2 Sep 2019 04:07:00 -0400 Received: by atrey.karlin.mff.cuni.cz (Postfix, from userid 512) id E3B45821B2; Mon, 2 Sep 2019 10:06:43 +0200 (CEST) Date: Mon, 2 Sep 2019 10:06:57 +0200 From: Pavel Machek To: Laurent Pinchart Cc: Hans Verkuil , Jacopo Mondi , Mauro Carvalho Chehab , Sakari Ailus , "open list:MEDIA INPUT INFRASTRUCTURE (V4L/DVB)" , open list Subject: Re: [RFC 2/5] media: v4l2-ctrl: Document V4L2_CID_LOCATION Message-ID: <20190902080657.GC15850@amd> References: <20190814202815.32491-1-jacopo@jmondi.org> <20190814202815.32491-3-jacopo@jmondi.org> <20190814224340.GD5015@pendragon.ideasonboard.com> <664fe7b3-9051-30da-736e-710a4e9cecde@xs4all.nl> <20190815143423.vaoswb4jvzd2blxp@uno.localdomain> <20190901172457.GC1047@bug> <20190902080002.GC4777@pendragon.ideasonboard.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="oTHb8nViIGeoXxdp" Content-Disposition: inline In-Reply-To: <20190902080002.GC4777@pendragon.ideasonboard.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --oTHb8nViIGeoXxdp Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi! > > > Single integer. It's read-only, so it just reports the location. > > >=20 > > > It would be different if this was a writable control: then you need to > > > know which locations are possible to set, and that requires a menu ty= pe. > > >=20 > > > But it doesn't make sense to set the location from software. However,= the > > > location might change as a result of other changes: e.g. if the camera > > > has motor control of the tilt and the tilt changes from forward facin= g to > > > downward facing, then the driver might change the location from FRONT > > > to DOWN. A convoluted example perhaps, but this is just brainstorming. > >=20 > > There are phones with exactly such camera setup. And yes, it makes > > sense to be writable in that case, as software can move the camera in > > such case. >=20 > Out of curiosity, what phones are those ? This one: https://www.samsung.com/global/galaxy/galaxy-a80/ Best regards, Pavel --=20 (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blo= g.html --oTHb8nViIGeoXxdp Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAl1szaEACgkQMOfwapXb+vJVUgCgrYVFlRl/MhpPjbBzw1NZDRjy HJEAoLBHobJ3rhRmeOiUZ291chTtbutb =q39d -----END PGP SIGNATURE----- --oTHb8nViIGeoXxdp--