From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.7 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,UNPARSEABLE_RELAY,URIBL_BLOCKED, USER_AGENT_GIT autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 96DA2C2D0C6 for ; Wed, 11 Dec 2019 12:51:11 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 74D4F222C4 for ; Wed, 11 Dec 2019 12:51:11 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729225AbfLKMvL (ORCPT ); Wed, 11 Dec 2019 07:51:11 -0500 Received: from out28-51.mail.aliyun.com ([115.124.28.51]:57689 "EHLO out28-51.mail.aliyun.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727402AbfLKMvK (ORCPT ); Wed, 11 Dec 2019 07:51:10 -0500 X-Alimail-AntiSpam: AC=CONTINUE;BC=0.2520508|-1;CH=green;DM=CONTINUE|CONTINUE|true|0.170358-0.00467259-0.82497;DS=CONTINUE|ham_system_inform|0.104135-0.000732415-0.895133;FP=0|0|0|0|0|-1|-1|-1;HT=e01l07423;MF=zhouyanjie@wanyeetech.com;NM=1;PH=DS;RN=12;RT=12;SR=0;TI=SMTPD_---.GF0GTgF_1576068628; Received: from zhouyanjie-virtual-machine.localdomain(mailfrom:zhouyanjie@wanyeetech.com fp:SMTPD_---.GF0GTgF_1576068628) by smtp.aliyun-inc.com(10.147.40.200); Wed, 11 Dec 2019 20:50:36 +0800 From: =?UTF-8?q?=E5=91=A8=E7=90=B0=E6=9D=B0=20=28Zhou=20Yanjie=29?= To: linux-mips@vger.kernel.org Cc: linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, robh+dt@kernel.org, paul.burton@mips.com, paulburton@kernel.org, paul@crapouillou.net, mark.rutland@arm.com, linus.walleij@linaro.org, zhenwenjin@gmail.com, sernia.zhou@foxmail.com Subject: Fix bugs in X1000/X1500 and add X1830 pinctrl driver v7 Date: Wed, 11 Dec 2019 20:50:21 +0800 Message-Id: <1576068625-125234-1-git-send-email-zhouyanjie@wanyeetech.com> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org v6->v7: 1.Change my Signed-off-by from "Zhou Yanjie " to "周琰杰 (Zhou Yanjie) " because the old mailbox is in an unstable state. 2.Add "ingenic_chip_info.reg_offset", use it instead of having hardcoded, and add "PZ_BASE()" / "PZ_GID2LD()" macros, use it with "ingenic_chip_info.reg_offset" to simplify code related to shadow registers. 3.Simplify the code of the "ingenic_set_bias" function.