Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752095AbdHNOBp (ORCPT ); Mon, 14 Aug 2017 10:01:45 -0400 Received: from mail-bn3nam01on0076.outbound.protection.outlook.com ([104.47.33.76]:37182 "EHLO NAM01-BN3-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751428AbdHNOBm (ORCPT ); Mon, 14 Aug 2017 10:01:42 -0400 Authentication-Results: spf=pass (sender IP is 149.199.60.100) smtp.mailfrom=xilinx.com; linaro.org; dkim=none (message not signed) header.d=none;linaro.org; dmarc=bestguesspass action=none header.from=xilinx.com; Subject: Re: [PATCH 4/8] gpio: zynq: Provided workaround for GPIO To: Linus Walleij , Michal Simek CC: "linux-kernel@vger.kernel.org" , "monstr@monstr.eu" , Swapna Manupati , =?UTF-8?Q?S=c3=b6ren_Brinkmann?= , Steffen Trumtrar , Peter Crosthwaite , "linux-gpio@vger.kernel.org" , Rob Herring , Josh Cartwright , "linux-arm-kernel@lists.infradead.org" References: <4f1f7ed79879d17e38ffda095d631d0f561c2818.1502103715.git.michal.simek@xilinx.com> From: Michal Simek Message-ID: <6ff1ce3b-1051-d125-c044-a5b3ad5aa2fd@xilinx.com> Date: Mon, 14 Aug 2017 16:01:24 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset="utf-8" Content-Language: en-US Content-Transfer-Encoding: 7bit X-RCIS-Action: ALLOW X-TM-AS-Product-Ver: IMSS-7.1.0.1224-8.1.0.1062-23256.005 X-TM-AS-User-Approved-Sender: Yes;Yes X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-HT: Tenant X-Forefront-Antispam-Report: CIP:149.199.60.100;IPV:NLI;CTRY:US;EFV:NLI;SFV:NSPM;SFS:(10009020)(6009001)(39860400002)(2980300002)(438002)(189002)(199003)(24454002)(377454003)(31686004)(229853002)(33646002)(76176999)(50986999)(54356999)(478600001)(77096006)(230700001)(2906002)(31696002)(86362001)(2950100002)(6666003)(5660300001)(54906002)(65956001)(65806001)(65826007)(47776003)(23676002)(189998001)(63266004)(106466001)(64126003)(81166006)(50466002)(39060400002)(4326008)(6246003)(53546010)(4001350100001)(356003)(81156014)(305945005)(8936002)(8676002)(9786002)(626005)(36756003)(83506001)(36386004)(107986001)(5001870100001);DIR:OUT;SFP:1101;SCL:1;SRVR:MWHPR02MB2477;H:xsj-pvapsmtpgw02;FPR:;SPF:Pass;PTR:xapps1.xilinx.com,unknown-60-100.xilinx.com;MX:1;A:1;LANG:en; X-Microsoft-Exchange-Diagnostics: 1;CY1NAM02FT036;1:8uP6hMyF3ld+B6OiD0ytohtsDmR/rzrW8R2ANkXgeaZf7okcCQshoFRelq10A/Lc3sMz0uSC5iMqPRcEBQAEMddFY8LZ+7QUk9TAwgWLu1BaZ0N42MfMx7ygsYD/4G1DJdue1dAhpbMiZkaOFFzHoLtvMJ4RlJKx9TFHdKbbZKJFVcU4KJhs1740HhqfKkMn0cpeQgYafIIr/xWnEjR2BAgGfFqgQX3V0hKAaSxAf6Euc8ZMoRUsYqD3W/pZCVMi5Yw05ZYpiuP5SEni5fCV3ow4FOKngR/i5vlEc3IKz1xIYVs5SCqA0rPIrgOZoNo6wPAKwF6csCrQlCgDtz8hmArZF3rlK0VvZctRUQJhkUeO642sMFHpeom6j1jMxBcmkv23n94wyZBZGtK3pKH88fotLSd5r2gfT6YssFsrH3RCLRxcsITVXO8uaG2ZgmAacQorn5nbgju9vhAim6g8qwUAiKpFp34XzPwDDTgfv1Y4ju2LA+eB8AzbJbyR5yh6ZRgngi3x00qmnpiKo+iytJZx6ZOR0aVVTzArrAJ3hlt4BuM4hXY81khJzHWSnI7uKdv5QFdw6b68KI+zFcLamehWy+GUAcIbr9Vr4rnLdlKOqrfn1OkHGJpT7Kq8jfBdRDbWdx3ZeQFfjslDZ2tzq5Xn+bd+z6RN32JaXvqa9VSWJ6cSjYYcGSAiB45Osjcze00RA8MDjNerHbqA34yg7BIt7FDvDVxjUUODKtjvgwGr105hdBUqzMayXpeys52O4hI/Yx8EUhpKNUnpUcGvVYMSOHnXvCBxkHYeoOWZ2/T2KVSimPxsxgPkgD6tZ9SBi+KSVKqRmdO3AxLohOldXg== X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 37e72f20-9b29-424e-fd16-08d4e31cfad0 X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(300000502095)(300135100095)(22001)(2017030254152)(8251501002)(300000503095)(300135400095)(2017052603031)(201703131423075)(201703031133081)(201702281549075)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095);SRVR:MWHPR02MB2477; X-Microsoft-Exchange-Diagnostics: 1;MWHPR02MB2477;3:FX6w27WdYH2Ekc5fFxY7Ua06TANFrOAfZRLlZfIsVnYFICqYas71R9mS9q3Y9eNrkq8Ch313fZZMK5TZRfHcyVocEbJfs+YCGj9hH5BwuFEPlysEtpp1/lmhyNLccmr1v5URM8J15VP4Cx5Zo4xkYv6I4YJS3caCsrI9fnPRn/bxDasiZC/wFMUyvWB5oNHoMqcrSb6pkCBwg61Q5JasWkgOT41nR+yNuKUi3U4k5dT5CKNkfz2B8DGd8lijGZXOdddJJeZ7qoqnJ28O+hklaOTBCAx1JSHm7WEFxRYZb0DxbFL6hssks19Y9Iy4xaVfN301XKE26vDA7LYEbYXPDR9tsMj/VdNkw36FPfYN8ec=;25:1PPtJcsYR6WOawZUm2raM8za08EhGX6QxmGCFirmuIChNj75Uw8Nlsyj1SGVcz0yZT3NlAL82OlVuTGX1M9KE047cn0XvFqL03QfNmZTra9MLvcri21yydb4hH1S6/xfvpmKYs7VZ4khJ0dKswp+kzEAz8/dABSGDLO1KOFU4BGmkijZ6U9PZ/1aqOgk4O8WvxI2bfG2gEgN8NqwlqJvBJoApg/Gx6pw9z04ES3Ra1i//lyRnQP4XM7UDL5pcapWKVqmHm5seNo7AohYvmp89rxoBwEq3keOEoPHIhu8GP5zkMs3k9GLq8pd2TNYRn50B4qZYu0WLWaKfTg//RWPRA== X-MS-TrafficTypeDiagnostic: MWHPR02MB2477: X-LD-Processed: 657af505-d5df-48d0-8300-c31994686c5c,ExtAddr X-Microsoft-Exchange-Diagnostics: 1;MWHPR02MB2477;31:y2vz+EalUKJWYfei50Uge5gxO7ww9VWzI3SJAhivmvfCfPWn/28e8r5WKZC3GErom/jzwt24Cyn3fkfBPV/WfLm2mmcRKRTeCajZtoDlQyDL2clxkTupmPzEmXdz7PeuBG8R4dnt1mUIB7KVRF2z6KRMDez9LxfZGcAoH/XGpU4oL4KTJwqLEW2v2ujZaN236d/X1EhiRxX5Vo6MuUQfNeuwTA1kK7w3KT4710R9RHQ=;20:YAC2V3RKqNVLKEnXJwK3kdUhbAGRdqhlsF/7dWpjisr84MGPLAE00CMQYuGN2el6jd5muasWildBllej+fnjfJ1gIt0ga0X6YWptUAMZR2a55k2g2Kepeg1tBSYCGuwA8dp/C9M3sVf08VZ1pKq/cRFUIiBojdXVtnpklylSLMjAgRLlKyInvvyqBg3hE802kGIWuDttwDsJ7u0HLsfAKV8W3kGjVExUxSSxQKxjo/h+5Ejcpcx9BcMseJPuTOuLfUkXQdfs5nq/rqYdgwYsk6zNACQZCzg05dSRL+WjKBsg3MG9q19+2Ibp3uaHUi3qrbJbqCXZ3oFliF4+KpVGuVrbELncXk2OfRNb+yXlxam3mLA1lhhgcuykTYGswoQYqlG0uD59oHToIbrToOopUYkp+nvjQ8EFG47toDXZvCqCckR/LJ1S9PXIDJC7BJWneD9uM4j5R/D4c7yvBi3liK3202qU3zNFBg5wDxpKWKbsjOujpC8klp47p0+pRn6y X-Exchange-Antispam-Report-Test: UriScan:(192813158149592); X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(601004)(2401047)(5005006)(13018025)(8121501046)(13016025)(3002001)(10201501046)(100000703101)(100105400095)(93006095)(93004095)(6055026)(6041248)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123564025)(20161123560025)(20161123562025)(20161123555025)(20161123558100)(6072148)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095);SRVR:MWHPR02MB2477;BCL:0;PCL:0;RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095);SRVR:MWHPR02MB2477; X-Microsoft-Exchange-Diagnostics: 1;MWHPR02MB2477;4:yZCjMq641IPGc4qV1FYO78ErXlKqQqxLeUle3KTu3CykzUA1HYApRVJ8jk3Ko+NG4gcDD4uuDdJghoJvG3Fu853nCTZV6uaUzqjygUs+c7FCxGSh+ne3U8qGehwj1efjbdNR66J/4HCpqr4u9Xve5KtdSm6eZ6c1gj/g6/0UMF5YKneuaS7WVcMAxp6haxEsQpIwDGt84yHhubyvJuEbEGx8UCfzfVukn18vnmovcVsRXSC0aERJ7c9bXnK5KXBUmcf9JJ+RFokMhHceUaXTbYE48mqdDHLITft+3enj21s= X-Forefront-PRVS: 039975700A X-Microsoft-Exchange-Diagnostics: =?utf-8?B?MTtNV0hQUjAyTUIyNDc3OzIzOlg3UmJFS2pSZXhReFo1QUwzT2V3ZTBFVGFG?= =?utf-8?B?ZXdkYmxYbVFaUmZtUkJyNDlFcHUzeW1TUDNUVmEwajg1QVVZaXc1ZjBjT0th?= =?utf-8?B?Qzl2a2s5VkJkdTNTQXZCQ3ZTTUNjaXRHWStsSWNtdWpLc2hxNEhXQ04rZFRQ?= =?utf-8?B?akMwYnJETEg0QUl5K1puZ3ppcC9LSDdqbUIwVFQxRi8zeldUd1UvZEtpY0E3?= =?utf-8?B?UDFwU2hZNjkwN0FSM2FpSVRsZ2IvQ2EwSHZubjdpUkp5Qjd1SzExRHkyMFl6?= =?utf-8?B?eXliMkV0RFFIVU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ih0AOhe0CXq0roprDDnAddGL22+GnFJowYdCvr5nmVr1qrQB/hTSx+bQ/WrVV8brNfjHAg==;24:E3Ao0B6tG7RZai35kaKb6YPREbwDb3jLQepjcOKwh9tR0sd02l/H2vLz0dWMYqOS/zVJqbiSiqq3Ts/YupbwVfs9zzT+qPoSx/M+uhPQfbE=;7:VtnFkBdqF7+GkcD3z78cf62vNcPPby354wcbqWmdr5iT/n7C8r1FcMhiPwL4YYBBUhlkp0oz4xrOTtqxFWnUch8QvQtuC0fGZE4zdoMPe1w1lv1L6YhiYck9aNoXUxE2EMoi9Nx8FzKIyH679kel2u9XGx8BqPJQCznUuM/J8m+MG4MVYxMdPVMgPP+697KmV5Fz5KOEoi99j4eW0sFwXkBBfXc6kiUOzSfQcVR6T2E= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: xilinx.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 Aug 2017 14:01:36.7515 (UTC) X-MS-Exchange-CrossTenant-Id: 657af505-d5df-48d0-8300-c31994686c5c X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=657af505-d5df-48d0-8300-c31994686c5c;Ip=[149.199.60.100];Helo=[xsj-pvapsmtpgw02] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: MWHPR02MB2477 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 675 Lines: 22 On 14.8.2017 15:57, Linus Walleij wrote: > On Mon, Aug 7, 2017 at 1:01 PM, Michal Simek wrote: > >> From: Swapna Manupati >> >> This patch provides workaround in the gpio driver >> for Zynq and ZynqMP Platforms by reading pin value >> of EMIO banks through DATA register as it was unable >> to read the value of it from DATA_RO register. >> >> Signed-off-by: Swapna Manupati >> Signed-off-by: Michal Simek > > Patch applied. > > (I hope my random application of patches does not screw things > up, then I guess I need to back some out.) Should be fine. Thanks, Michal