From patchwork Tue Apr 2 15:45:09 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yangtao Li X-Patchwork-Id: 10881891 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 7847015AC for ; Tue, 2 Apr 2019 15:45:30 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6017D201F5 for ; Tue, 2 Apr 2019 15:45:30 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 53CE7287FE; Tue, 2 Apr 2019 15:45:30 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 0AA6C201F5 for ; Tue, 2 Apr 2019 15:45:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Owner; bh=dv9A7KnXD8Iv7DaMkIk2A7hIXjtFKipO4fvww+MuQ08=; b=JPr gET+Z3x036y7hFrYA28ZVDjUhKt+nYvbl40l5LMMOmJuAG7XF9hc79LwQePMK4OCBnw2odLJ60cJG C6QBaTYCQuunWLaIseU9ozCJMDRGvl4P9EBeOmeu1A1SH07JnONngOZ3IYd7lVM9KD/oaWxReoNH1 /SlsctPQWyKEg1isyCxTCP754jBL6lit6odauyzPwGSb0Wga2a8DqrRU4nyWOac8UbwNUJgGUvQpB +r3j0VSTptwZj30xrrYh6xbDmTuo/3424vMZLqw20BCP2t8kifMq30JhlKTQ05IpEBYQ1VEoj+dkY 7t/GU9d66Yt6mCHc7JIpqYYUhclPM/w==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1hBLbH-0002yi-3g; Tue, 02 Apr 2019 15:45:23 +0000 Received: from mail-pf1-x444.google.com ([2607:f8b0:4864:20::444]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1hBLbE-0002yK-Li for linux-arm-kernel@lists.infradead.org; Tue, 02 Apr 2019 15:45:22 +0000 Received: by mail-pf1-x444.google.com with SMTP id 188so6579292pfd.8 for ; Tue, 02 Apr 2019 08:45:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=t8hr+YvVrSrxYXzCWzo4dMebGypUPvoFIOVK2MiXFxQ=; b=KMyRfeDl/4iirpb1OBL0jXwnrNUy2URVYwatIiTtPFvLHh1ztHEJOfsar0qxyrF1JU 9fb+KcnqepLdeNHp+czMIJ+koC7Q2USoNmmId5dimmLOyWj7WMudYtEtOZsks1iRTrv/ v7PJXGe8Tqesm5G9NurMHxhrmjAb5FRiHG+szS/IDJtQT2ovlmM/Uy2wU2rbaj3mx0F+ VNgevPJjueXMelBaqDL3heL+G1Br6C0Z51GnzgifKdsxD3FbBJgH7UNLHWp6St/Grn52 730dFI56PdRdg4qP5mZbjFN+n9EGvkjVT1p9KdeQE3UxjZbvbW5mNdrgc7iW4H2U8teE FwGw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=t8hr+YvVrSrxYXzCWzo4dMebGypUPvoFIOVK2MiXFxQ=; b=tBthlXSNrBAhU3EFuz7sfVXF+IaxqBvv4stUneyZ9Y6MoyAfiPJ4l2MlAxY++RlmKh 4SYTZaR2a6DnGYDX7u4a9N2APFS4k/dpEfyOyR3NXBeJcYqT5QjUFo+tUwNF+YvMY2qD bqbbd/x3UxwFjC1FdfvrDqtk/Wra8vNE7WDIHCm07RzGPWY/Y4DDU8YfYYBKmzTqaPnK xFbaRb5EhBF3WCjW+N4YVW3chn3dagyygD9xetPxLJSlo9w1PAySLJqZd2QzQMPKABxZ Jqy9vxW4yrwwNKNrJyu/0X0IssKGHvXle0Anl7EDU688XyPoCfkUIiR9PBdBb1qt6HPQ oaXw== X-Gm-Message-State: APjAAAUiJxmx4+6bndUHSpBhcRoOYfnyOjR1TTMqTpPOsBvTmY+vnCM1 7FZ2CYYvXMCvlUdZy7V0v3Odswkp6s8= X-Google-Smtp-Source: APXvYqxDC+dfT5Y5PSJyyaiuYR4P1I3o7xRTX8AjIhkWn2mjCFdMC53QyrmI75wZrr0cIecQhlVN/g== X-Received: by 2002:a65:610a:: with SMTP id z10mr36197570pgu.23.1554219919849; Tue, 02 Apr 2019 08:45:19 -0700 (PDT) Received: from localhost (68.168.130.77.16clouds.com. [68.168.130.77]) by smtp.gmail.com with ESMTPSA id w2sm19815557pgp.81.2019.04.02.08.45.18 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 02 Apr 2019 08:45:18 -0700 (PDT) From: Yangtao Li To: srinivas.kandagatla@linaro.org, robh+dt@kernel.org, mark.rutland@arm.com, maxime.ripard@bootlin.com, wens@csie.org Subject: [PATCH v2 0/5] nvmem: sunxi-sid: add SID controller support for H6 Date: Tue, 2 Apr 2019 11:45:09 -0400 Message-Id: <20190402154514.11284-1-tiny.windzz@gmail.com> X-Mailer: git-send-email 2.17.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190402_084520_721356_3A709874 X-CRM114-Status: GOOD ( 10.08 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Yangtao Li , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Add SID support for H6, and do some cleanup. For endianness issue, add a new ref_read func. Yangtao Li (5): nvmem: sunxi-sid: fix wrong description in kernel doc nvmem: sunxi-sid: add binding for H6's SID controller nvmem: sunxi-sid: convert to SPDX license tags nvmem: sunxi-sid: add new reg_read func nvmem: sunxi-sid: add support for H6's SID controller --- v2: -add a new ref_read func -only support H6 now --- .../bindings/nvmem/allwinner,sunxi-sid.txt | 3 +- drivers/nvmem/sunxi_sid.c | 47 +++++++++++++++---- 2 files changed, 39 insertions(+), 11 deletions(-)