Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp1023513pxb; Tue, 19 Oct 2021 18:49:58 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz5tuWLxNVI05JjVwC2IYYTryeuY3SD/iEmhiBX3wQaPuxs2hfl1sQmPzIrftASZh3sa2Dl X-Received: by 2002:a17:907:3f17:: with SMTP id hq23mr24024523ejc.350.1634694598073; Tue, 19 Oct 2021 18:49:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1634694598; cv=none; d=google.com; s=arc-20160816; b=Tfap3mfNsb8gpxNjebU9bGiNdO/P5VgyHpMd/GmobK29RXPZbDAcS/vKu2Lk0IuoMe kwT2tMe7haroyIzvMSwAGITUpzTCNu9PjXZgd3qknQp7AN86xSKfShkZTqlx5WMlMRVx M7HmCcXFsgmbkboJ42MRcKIp9wemgQLkf8oW4ZilJXPLh2MGvWX8nzyNFKiiaZ/4wxLS kNNK5Cb5x7u4miPvdI4y5UjVhMFl9kYEiUcHorWhmLReeI+Kh0qF9y8wSbyA5N6ioDws O5wjaPstEA665cfFv/Nb+5kBq1nL3cPI6BHvDLqbkT3uoks+Vh1kkdGnL3kcJbDyqeox oXuQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=Lo/jOB9MRYPahQSJIGBGd5rI6irS5O6KXgLYFuOtSiA=; b=H9KSrqefDCVKTSGBggwB0NaT3TW8clFzF01IsaogCgV8dNvvjOxeVf/X4iXY7TxN/C WklRzCH5BFMeVdPWSbyv5IkfRYOu8I+6j6nGPb7HJh2vs2icu+D+wRiO4VowfFX6t6sZ 6ekZgIbRr0aBCIQimktd1TMSwW2aLHq9Ue9tkbnWj+4Hg8iw7FSKt/zlrCpwWbS7hv+E pQaBQ7WBlvvrUbQ5bqiazoYVETm+Cns+/Bc7ULYFkfSAaFxqgFEfqCEwZW/M6Uq6ZKK4 Ngt6R+D2cj4XDP1eyFyTN85SChyGwtFJh+4qcJ9McE9eZ1SKdBEC3KzaZ0XA7Q2xRgF1 18wg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=L9dglaaF; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id yw20si873934ejb.53.2021.10.19.18.49.33; Tue, 19 Oct 2021 18:49:58 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=L9dglaaF; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229743AbhJTBrb (ORCPT + 99 others); Tue, 19 Oct 2021 21:47:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48894 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229555AbhJTBrb (ORCPT ); Tue, 19 Oct 2021 21:47:31 -0400 Received: from mail-il1-x12e.google.com (mail-il1-x12e.google.com [IPv6:2607:f8b0:4864:20::12e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 76F19C06161C; Tue, 19 Oct 2021 18:45:17 -0700 (PDT) Received: by mail-il1-x12e.google.com with SMTP id a8so20376784ilj.10; Tue, 19 Oct 2021 18:45:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Lo/jOB9MRYPahQSJIGBGd5rI6irS5O6KXgLYFuOtSiA=; b=L9dglaaFTdi3X1M29JVYhAW3d45Ys+9bqoF7pCQ5K3NTWwBPhLZ7COQnEFHQENUo98 xW85tOsgvCnasrSDlEX3dTobYD0VO53yYQHD0neekojcPCjdEeheNzK56abnnaQyTJ2m RQDrga4/kSdRQPoGCBuUuGb25X/WGX6rzTkm13/kQif5SU65AhddI13OITVcGqtFbzAj MHPH0RXDFCEzhqUY5mOORfrUbs8KeKrJdA7TgeAB5em9yJgiddiUn/+NvHv3GXSS9tfW tk1zDNHLIGNhSnzBlYaFZmmIdeyaZGfqSsMKQwAN4XRbDWYIbV7nvLhLfPksYG7zodAh z5lg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Lo/jOB9MRYPahQSJIGBGd5rI6irS5O6KXgLYFuOtSiA=; b=m26qGMsHq3RQp29UrH9wItnqDz5RYFbGyMm3OrY0PAVSQyzYHaRVRju706spZBQMUd WusewdABhyf6DWryn+0BgPYw5nhICS4DKtEhi6Ayl3cgbC0YeXmgmr+zDXiGFgVSrads dszi5Z0k0uDbIFA8zBUAmNXetNu7Jk0lJ9sUQK/QUyNi9B5wvkoPt3y+lhn+FpyWt00r Ehf99Q9dFthGO4WTCSM7mYTfV5UNAdKo2/ljs/BimaZNi6Pwj18P7sbgSOiXHS889FI5 MMBOJMpK1i5KcUyGR3o40jR6E+QaAB4QxlHsuOM1stEhM4x2xiQSZ4732GzOty2ysLVL iGaw== X-Gm-Message-State: AOAM533NQflLbR2gNq0fX/rScdg0ZANJSo1+t5+10GzUYmvy+n7kMrkD Gc3KOSoDdO2ZG4DLoMP5ieaNViNm5Vh77Izk2/jeukwgVCkcew== X-Received: by 2002:a05:6e02:214a:: with SMTP id d10mr21663993ilv.290.1634694316599; Tue, 19 Oct 2021 18:45:16 -0700 (PDT) MIME-Version: 1.0 References: <20211009114313.17967-1-alistair@alistair23.me> In-Reply-To: From: Alistair Francis Date: Wed, 20 Oct 2021 11:44:50 +1000 Message-ID: Subject: Re: [PATCH v11 1/4] HID: wacom_sys: Add support for flipping the data values To: Dmitry Torokhov Cc: Ping Cheng , Alistair Francis , Shawn Guo , Sascha Hauer , dl-linux-imx , Jiri Kosina , Benjamin Tissoires , linux-input , devicetree , LKML , linux-arm-kernel Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Oct 20, 2021 at 11:05 AM Dmitry Torokhov wrote: > > On Wed, Oct 20, 2021 at 09:33:13AM +1000, Alistair Francis wrote: > > On Tue, Oct 19, 2021 at 11:51 AM Dmitry Torokhov > > wrote: > > > > > > We already have touchscreen-inverted-x/y defined in > > > Documentation/devicetree/bindings/input/touchscreen/touchscreen.yaml, > > > why are they not sufficient? > > > > The touchscreen-* properties aren't applied to HID devices though, at > > least not that I can tell. > > No, they are not currently, but that does not mean we need to establish > a new set of properties (property names) for HID case. I can update the names to use the existing touchscreen ones. Do you have a hint of where this should be implemented though? Right now (without "HID: wacom: Add support for the AG14 Wacom device") the wacom touchscreen is just registered as a generic HID device. I don't see any good place in hid-core, hid-input or hid-generic to invert the input values for this. Even with my "HID: wacom: Add support for the AG14 Wacom device" patch I don't see a good way of doing this without the raw data parsing. Alistair > > Thanks. > > -- > Dmitry