Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp2182039ybl; Thu, 29 Aug 2019 04:52:50 -0700 (PDT) X-Google-Smtp-Source: APXvYqzc6ZdGC0jtjsKHLhaDHtNDiwDJPI1J6Cg5NKDMP/+AGpjmNDodKfnQGxCzIhfSZwa5yPn1 X-Received: by 2002:a17:902:a715:: with SMTP id w21mr8998629plq.274.1567079570160; Thu, 29 Aug 2019 04:52:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567079570; cv=none; d=google.com; s=arc-20160816; b=MM8ZMTsTewV29yCnttXpaKbl0YJ0Bo5hv+hIFLmosIYRVajiqQuVcvvcrAkEhl4E5R igQDf4lWiE13yEHkLEFGV/Q0mYX0WjAZIVq6haNMyN4sd2zviBJIIKZS0kwZdHBNvf9y t0lF0sI1cVz97TeAdg0p1O4QdEGtD3U/lNb/Se52a5RnOVaZYeCWnWvOF+E2vWdHdPzg 27GJ3X0WA7JE3fN8iHcXeSebHKolktxQ3xGLj1UNrgeiE3jHfTh8JKtKEKMgjRkCjlcx fi+dEgRbiK0fpEvXs+6OUTox9nu57ZBz1FQ21dhj3r+IFFweEihqYd+f7oFNpW3mAW4q VI8w== 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=c54W5YeD/zzlnMk65mW7cKX3iMG9RTXWAnRF2UJ8Avk=; b=U60aKt6s11ML4CSQGfth74SsySFTNnW2cuyMUlU68tLjELWJnet6JU+o/6IiarmGod P7rejrd74sXwpxq8t1HJBEcLfQlOStOesMN97b6pPEbXuTmTvRqq6IKwoqWMMykgiZV5 d9XBvBDOgKmJgHtds7ygDhDdRimPdp49var1/Ul4RZtW7YPU1QOdF8K8NPs8CfsSQXFI kciTdzjEmWl1VppVk2F4YhYp2obz1kFGtP3rW205WAqLR2qAjslYdq+AeVtJuDdU6qop R+OQuAsQxVeJY4dUDQJULvVnT6dgU/fzS7+Q5NkIfqWbzrB+SuN51e1tYdXvbHRrCRsg n6Og== 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 f4si1675484plf.318.2019.08.29.04.52.33; Thu, 29 Aug 2019 04:52:50 -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 S1727380AbfH2LvC (ORCPT + 99 others); Thu, 29 Aug 2019 07:51:02 -0400 Received: from metis.ext.pengutronix.de ([85.220.165.71]:38469 "EHLO metis.ext.pengutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727008AbfH2LvB (ORCPT ); Thu, 29 Aug 2019 07:51:01 -0400 Received: from pty.hi.pengutronix.de ([2001:67c:670:100:1d::c5]) by metis.ext.pengutronix.de with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1i3Ix4-0002md-Ut; Thu, 29 Aug 2019 13:50:54 +0200 Received: from mfe by pty.hi.pengutronix.de with local (Exim 4.89) (envelope-from ) id 1i3Ix2-0007yd-A0; Thu, 29 Aug 2019 13:50:52 +0200 Date: Thu, 29 Aug 2019 13:50:52 +0200 From: Marco Felsch To: Robin Gong Cc: robin , Mark Rutland , "devicetree @ vger . kernel . org" , Shawn Guo , Sascha Hauer , Dmitry Torokhov , "linux-kernel @ vger . kernel . org" , Rob Herring , dl-linux-imx , Pengutronix Kernel Team , "linux-input @ vger . kernel . org" , Adam Ford , Fabio Estevam , "linux-arm-kernel @ lists . infradead . org" Subject: Re: [PATCH v2 1/2] input: keyboard: snvs_pwrkey: Send key events for i.MX6 S, DL and Q Message-ID: <20190829115052.s2m4jw4p3rknqoxb@pengutronix.de> References: <20190827123216.32728-1-robin@protonic.nl> <20190828091550.pdc57wanu6twew5p@pengutronix.de> <6d353af709ea545cc34abca5c40674e3@protonic.nl> <20190829081712.timamprawezzbesn@pengutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Sent-From: Pengutronix Hildesheim X-URL: http://www.pengutronix.de/ X-IRC: #ptxdist @freenode X-Accept-Language: de,en X-Accept-Content-Type: text/plain X-Uptime: 13:49:36 up 103 days, 18:07, 63 users, load average: 0.02, 0.01, 0.00 User-Agent: NeoMutt/20170113 (1.7.2) X-SA-Exim-Connect-IP: 2001:67c:670:100:1d::c5 X-SA-Exim-Mail-From: mfe@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 19-08-29 09:11, Robin Gong wrote: > > On 2019-08-29 16:17, Marco Felsch wrote: > > > > While reading the rm it seems that > > > > the snvs block has a dedicated version register. IMHO this could be > > > > a better way to apply the change also to existing devices with old > > > > firmware. > > > > > > I thought the same thing, and fully agree with you. However I do not > > > have a way to determine which versions are out there. Since I couldn't > > > find any documentation on this, and I only have i.MX6 S/DL, D/Q and UL > > laying around. > > > > @NXP Kernel Team > > Can we get some more information here? > Go ahead, please. That snvs version register SNVS_HPVIDR1 should work as expect. > MINOR_REV checking is enough, none-zero means for soc after i.mx6sx, but > Zero means i.mx6q/dl/sl elder soc. Thanks. Robin can you integrate that so we can drop the different dt-handling? Regards, Marco > > > > Regards, > > Marco > > > > > Regards, > > > Robin van der Gracht > > > > > > > -- > > Pengutronix e.K. | > > | > > Industrial Linux Solutions | > > https://eur01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.p > > engutronix.de%2F&data=02%7C01%7Cyibin.gong%40nxp.com%7C8d4e1 > > 0cd77bd4652f3eb08d72c594e76%7C686ea1d3bc2b4c6fa92cd99c5c301635%7 > > C0%7C0%7C637026634390359345&sdata=mhXlUxmLWg8qtwhPQfkJZm > > VAn4QQ3YybLOSh83uf27E%3D&reserved=0 | > > Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 > > | > > Amtsgericht Hildesheim, HRA 2686 | Fax: > > +49-5121-206917-5555 | > -- Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |