Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp2390342ybl; Thu, 29 Aug 2019 07:35:22 -0700 (PDT) X-Google-Smtp-Source: APXvYqw+84BR4wPB6HTLG8M0IQ6LFlFsHSdPcs4ovy8Q5MNGg2OnvLZ6JxcKyQHQB14pR/2l1eyM X-Received: by 2002:a17:90a:b288:: with SMTP id c8mr10177841pjr.135.1567089322567; Thu, 29 Aug 2019 07:35:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567089322; cv=none; d=google.com; s=arc-20160816; b=y0vyXSal5uNXL47K+iO9tWmTMOJSgst73OZSBv/2Q+EVTK42rKtqlwQ6OuEBuEgqF6 ipew5Nz3/JOSsmKXSVbugkKO4Hx7xKaHaDGP2kFd+QW/zS3TFzJ2A/sQv7J6y7aYJn++ 9fRWvV8SFyK8LxdKIzHEoy07s2boIlLwsdcFU+rrXYE1PFuay1DG0SNLppBgDr7XcJyk W3sPIji0+H+SrTnFN5YT+As9meiDHc4A4ozSgn/AV1tw8Xv7ikk3FVcPwf/ndxX7pgPP Tb0aMRSD2iQ9ZNbtuoZFq8kLgriXii+H0j6vu/Z78c30nweWWkk/CMPAxeXNLyCR8btY 1kVw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:message-id:references :in-reply-to:subject:cc:to:from:date:content-transfer-encoding :mime-version; bh=074EZZyE5wbgHbnRhGeHFb6CA1d+Rh+90ZxfaoRhqBo=; b=Z/ofwZH/ba7wI+MJtIBkiC84ufqiR4KjAJfc8zy6JN2KENYcMXvsE6Dz4RdDfJ5yzs 7egdTw1wrlzqiyXd69P06+p2nrHCL1xN7iuhva16VUEHiGjttzOKd0JO4CZpwq/kN/A7 eZMdte13lp0s3kzWdvvjm90pH9g/iXOF69w41vard+YHedtzzDjVetYMSi9kt8lnxJIP qD3fq9M7O4fMoXm4aPJqnXI4tlO+RATErS8SMd818Lci6xF5lkzAUZ8lnttUZFZR6Ibv SheWa0Cb2zc7X+jCdtTxZnRj2b+WVmnUQCoesOVkZTzsfe08z081S7dq9CeGDrMHyrDn vVQA== 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 l1si2207320pgs.458.2019.08.29.07.35.05; Thu, 29 Aug 2019 07:35:22 -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 S1727235AbfH2OcZ (ORCPT + 99 others); Thu, 29 Aug 2019 10:32:25 -0400 Received: from protonic.xs4all.nl ([83.163.252.89]:37485 "EHLO protonic.nl" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726283AbfH2OcY (ORCPT ); Thu, 29 Aug 2019 10:32:24 -0400 Received: from webmail.promanet.nl (edge2.prtnl [192.168.1.170]) by sparta (Postfix) with ESMTP id CA70B44A0065; Thu, 29 Aug 2019 16:34:20 +0200 (CEST) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Thu, 29 Aug 2019 16:32:22 +0200 From: robin To: Marco Felsch Cc: Robin Gong , 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 In-Reply-To: <20190829115052.s2m4jw4p3rknqoxb@pengutronix.de> References: <20190827123216.32728-1-robin@protonic.nl> <20190828091550.pdc57wanu6twew5p@pengutronix.de> <6d353af709ea545cc34abca5c40674e3@protonic.nl> <20190829081712.timamprawezzbesn@pengutronix.de> <20190829115052.s2m4jw4p3rknqoxb@pengutronix.de> Message-ID: X-Sender: robin@protonic.nl User-Agent: Roundcube Webmail/1.3.6 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2019-08-29 13:50, Marco Felsch wrote: > 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? No problem, I'll post an updated patch tomorrow. > > 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 | >>