Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp1474249ybb; Thu, 9 Apr 2020 02:54:33 -0700 (PDT) X-Google-Smtp-Source: APiQypIa1hRkl9GepbJFA1bzJcoSCK3RhdLqI807BVE96depc38WZd26als1N57ijw5hOQfbFCm4 X-Received: by 2002:aca:5109:: with SMTP id f9mr2869950oib.14.1586426073124; Thu, 09 Apr 2020 02:54:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1586426073; cv=none; d=google.com; s=arc-20160816; b=ZyVC8dV3D88z3BHn17ui1rt/dkqSKjX5sVgHFZjGJZK8twKFCmaKZn56J/gHGaeP4K ThBCBJEKGhzCJXBwb9sIZHyn/llhOh+jJ72tpfJKSUOIwI7CgvY6GqjYwDrnQwTmQ9rP bQOv1jB6KnT6t492tckrUHaPNFCfUh/OQ65Fk7qq7+boPq09vvEXegH4IjDF5OjkN4Xf 2rCO+al/1PQS3VRh4fX5OFzHqUT7yiT2/ecABX7wcSW6TA7K5/cEQeymVT1ZF1UgqI+J s4wzgCq8zjnM8QilY7woyFzP737XX3qftOJqRlKhXkeMRKMverq/XwQOVihCPur+mdnE 7nfA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version; bh=nDYgqtIz5tnO+UhihehqkCyBDd/ccJPGFJ0kRLgZmJw=; b=fW1CkOLzZuI3LO4vN0I0mrjgL1Z2dB0p5BurF+JvXVynM2kIQXa17JRM0PbayR/iH4 Zi4IX/RxChHujZsqYKQXCptCSazWSSfgtRw6zPe9Yj+q7Ei2XlzJ4b6A+aPIspqHCkWl JVXsKGLpFQjoo+qZC2p8IwFbusbbph2LvQXT4ZUJLajvFpbr4ihqsYEqE/rAB5CJqBZx ZzNUPFH5PuEXrFfoRFqUAQELUyL1PVThSdPqKAKSTerWbP2lAbI5Yi/fiYz3QJRlLhW5 zxxqrXYsoMwr2HghyDaizxv3kbIzf2NIl8MhfFb63mL3a7tw7T48jdhimdy8o2uMkxxx yUJA== 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 70si3683254otv.273.2020.04.09.02.54.15; Thu, 09 Apr 2020 02:54:33 -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 S1726684AbgDIJww (ORCPT + 99 others); Thu, 9 Apr 2020 05:52:52 -0400 Received: from mout.kundenserver.de ([217.72.192.73]:44241 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726632AbgDIJww (ORCPT ); Thu, 9 Apr 2020 05:52:52 -0400 Received: from mail-qt1-f176.google.com ([209.85.160.176]) by mrelayeu.kundenserver.de (mreue106 [212.227.15.145]) with ESMTPSA (Nemesis) id 1MUog3-1jn3Fy3czR-00Qhna for ; Thu, 09 Apr 2020 11:52:52 +0200 Received: by mail-qt1-f176.google.com with SMTP id o10so1117357qtr.6 for ; Thu, 09 Apr 2020 02:52:51 -0700 (PDT) X-Gm-Message-State: AGi0PubZ+QhTMV0IW/+5f9irbcFpQBZxi8Ct2qWwme70GX/RqBXUVvNf 5bDN9yapY9okY25egx01rfvndS+wXFNBOljc5Jg= X-Received: by 2002:ac8:7292:: with SMTP id v18mr11264133qto.304.1586425970748; Thu, 09 Apr 2020 02:52:50 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Arnd Bergmann Date: Thu, 9 Apr 2020 11:52:34 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [RFC PATCH 0/3] Add new reg_update_bits() support To: Baolin Wang Cc: Lee Jones , Mark Brown , Orson Zhai , Lyra Zhang , "linux-kernel@vger.kernel.org" Content-Type: text/plain; charset="UTF-8" X-Provags-ID: V03:K1:ukI8mr9iL59Bz0uuiB4N0ZZtSMVBLLSIhU44Wy8tIBCvQpQZ1cY 5LbkevPtle+07lq9OGqfyPCDsBwtQtZ0CGjDuTieB2Ta4tHJOipPkPfycyIF11NTaaOUdIp L6fdmsBpYgY0FnY6Nx+InqC69pNeT8M7dLSa7a6zFZlxMe8exe9ySNUMUssRmi/YNLp7h2Z SuXTpV6KqHOcvm6tsQrPQ== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:BE3k4PoYWps=:Y+IOHy/sTJvz749kizmGjw Eajge275lCu9WQ7iHmd4PSRjXowqMsAN3Xwk4YSEh00eQHzgNNZcTfdPN8oyMIiFDOf4NQVl2 cb4V66ASJmYsFrEITBiyLyOtqFgqXJi6XoWjwxJtIcss3sfXirB2dSxdgw59DdItj2gYVtVhR qEh0dMZGJpIlG7agbKyLl2x4yC3/EbcQdQYnySPkc7hH94vN+8SHNUqS6P19KP/uoaESnUwuk luu4qvf6o9UwDQQb382uOs9YpLzAF5soGM4i+bKDk9kbnwtf0QVGAyi2iCUvpwO2dhYQH0lM1 HUBZy7gXLOax5Y/Gxk5opkaS24HgED3n0SDjB0kacH52ZqvGMHbFUg2parS8JePTuZfRhSBmW P9q6HaL71zt1d9yyRmFn9TgJ7uel2m92pJTKUTJxmcWzRf/1hC0h7WYmF22HE6hpYcN46+4wx NQAN8QFyWfIqeLFP108xdwj/r6aqyo8lL+OvsJp1yuYJd5wHIl63kYfTdVPbrEdaWqPUcQVin 8nHDl4Sqf9EY4VezTG04zwPINsoCx8oskOF/hhad9Nbh0Oj4FbCiAH12DPZ8eUf0/P5gxBck+ FOR1QE52SDxoo6p4lZVeLMjUurh7X8jgLwM38GUrVrSkKDgrj3K9kHysVjO1w1ol7X1+gJ52f /ZfKowDL4pytu5o7LbmtH7A2aKIy3PFbFdHg8K++WvJg+1kBJldlsMnHZBLEBz/RM6oxRTYWr 2dTeO5t76FmCrkoHKKJtmOk7oQhNtELA2JrKlm0v6lhWSpkryADkKOHbIEmyeQYe4qdI6br87 x4nv9PqqlYLTk3M0iJpsRKkvsfXKwzcU9OxyFbXLyyzdjErG9k= Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Apr 9, 2020 at 11:40 AM Baolin Wang wrote: > > It would be nice in theory to move the sigmatel devices over to > > reg_update_bits() in theory, but this seems unlikely to actually happen, > > given that these are mostly obsolete drivers at this point. > > I checked all sigmatel devices (about 10 drivers), I think there will > be more work to change them to use syscon/regmap when changing to > reg_update_bits(). I am afraid I can not thelp to convert them without > a hardware, and as you said, some drivers are already dead. So I think > it would be nice if the driver owners can help to convert these > drivers, if we get a consensus about the reg_update_bits() > implementation at last. Thanks for taking a closer look. I didn't want to imply that you should fix them, just saying that it might have been nice if they had been done like this in the first place. Of course, when the drivers were written, we did not even have the regmap-mmio helpers at all. Arnd