Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp355898imm; Wed, 29 Aug 2018 01:35:37 -0700 (PDT) X-Google-Smtp-Source: ANB0VdYek8f+WtVBk3mypoNgUjBYU5JHowANuRtGScwHxcKFUWmsWdtUyKUEuFnU8OJcW+bsmT/N X-Received: by 2002:a63:3587:: with SMTP id c129-v6mr4818230pga.290.1535531737463; Wed, 29 Aug 2018 01:35:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535531737; cv=none; d=google.com; s=arc-20160816; b=SpnfElYZ6sKFVHiVR4Muhg9oplpU3laBs8WnhW1dClDwrQTW+I6fnEJi3PhMH6WmFf 28yfXhDLtpS4Lcul8j5s3ujg9RxRntBXzS7QAme+oDMgE0sDkHmEd5JeYlCPfcmZzgwk 4F5FmBp1C5+zNtURhhfUDB+1sIF9K4aDVNGDUmLCxPIuAKEiQhC+JYBf+jSZGS4fLES6 VaALB+oz2tAInW0rJH9aegul6bVO9qweWkhqt46ww3TGxdmTOS82URGp4iejalyTLTrN sUHCYo6X2pmAoH8bXc0g0AqzpcWDfVRJ4wYZJLf+vCHmCxhCE5zel0jW/PagYwJHN5ZH x09g== 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:dkim-signature :arc-authentication-results; bh=MIum/HYC0IgmBx3kBSey5YVJ3phOVnPCokiE9CYm+9U=; b=jSNBgjXIfXjEhymsGY2k6+x6h9S1A+MtFPHa18gt2u8CeA5Kew/5yNZku2w0JLBwcJ rPSkW0Z7es/YR2H4wgtZt9ycbgbiNzMUHW0tfIt9Wv3Qzn+2EtZOQ4UmYIUEQc42O4Vs 6Z5/xlfrNG1CmIqI4NHHcnDm30d1WUx7dcKQ+3KQQZAuaV3G6uvL5olXcl+kUFCKj6NB X316W2SJo37YjalYeOrcMDwbglzX1eeIK7R8Vtl22DWByfgOOtlLACEfntbHRXxZ6gCE WuMqgubNE0XffMwGx79Fp+aRyLA/t2yz4Xx0R+7VnpJ/8boCQufuIZJdnEqjYGFLsF4i unYw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=hfgDFK0r; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 138-v6si3331811pga.188.2018.08.29.01.35.22; Wed, 29 Aug 2018 01:35:37 -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; dkim=pass header.i=@linaro.org header.s=google header.b=hfgDFK0r; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728267AbeH2M3W (ORCPT + 99 others); Wed, 29 Aug 2018 08:29:22 -0400 Received: from mail-it0-f65.google.com ([209.85.214.65]:40575 "EHLO mail-it0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728186AbeH2M3V (ORCPT ); Wed, 29 Aug 2018 08:29:21 -0400 Received: by mail-it0-f65.google.com with SMTP id h23-v6so6176813ita.5 for ; Wed, 29 Aug 2018 01:33:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=MIum/HYC0IgmBx3kBSey5YVJ3phOVnPCokiE9CYm+9U=; b=hfgDFK0rpPZni8mHJ2LneyWzZS9EO238XMZl+MX/T1bh0lgz6s2eUtwohFPfXNJ+nQ rRts5CAP5MIdCLe/c/gUaP/ko2Uqu4cwZ/VMPeaSXUGx8VtVtVVU9H+e21ZZXXcR3p9S IGyL/4vPuMuDR5iAdZEel8Id8VsUaUoXrxcfM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=MIum/HYC0IgmBx3kBSey5YVJ3phOVnPCokiE9CYm+9U=; b=PQ7e2y5gurBZwA0u75KaDajxeqeutxP7SCbypsNCWpInKAtZ6agtF2Aaqczh5SdUOS wr2gpMqS1AeVDsOvc0IfePYJIsMzwLFePNxGXDZ+tbMl/v5+r511rBIeBhvHEIRkW2Gs wrORVkaFPPu8I0enSo8IS/evdBm194BVLR+gyTpN0AilbT/64hY/knVFmxMs14jEu9oG rhu2PxYs8posZn2jB+C7LfV9j/Qkcnt84IlAUwUN0ozl4FQ7n+9v1pNAmwLx2OX2PMiL LlvpMabMHzjgT1PuoKQI0hfqrYEuulcnskGx+++S+SBUyn2DS84eBwfYbaefnTS3ekgA MfqA== X-Gm-Message-State: APzg51BPkuESAVjW5rvTJy8dlRh5zffiLn11IXXOndtMhaJZZ3JQGLOk 0MF5dzQkPQT3bp/wdK7l+9mDXielZJkpiQNumCtNReU5vmk= X-Received: by 2002:a24:6b0d:: with SMTP id v13-v6mr4732915itc.16.1535531614309; Wed, 29 Aug 2018 01:33:34 -0700 (PDT) MIME-Version: 1.0 References: <20180807020634.18182-1-yixun.lan@amlogic.com> <20180807020634.18182-3-yixun.lan@amlogic.com> In-Reply-To: <20180807020634.18182-3-yixun.lan@amlogic.com> From: Linus Walleij Date: Wed, 29 Aug 2018 10:33:22 +0200 Message-ID: Subject: Re: [PATCH v3 2/2] pinctrl: meson-g12a: add pinctrl driver support To: Yixun Lan Cc: "open list:GPIO SUBSYSTEM" , Xingyu Chen , Neil Armstrong , Jerome Brunet , Kevin Hilman , Carlo Caione , Martin Blumenstingl , Rob Herring , "open list:ARM/Amlogic Meson..." , Linux ARM , "linux-kernel@vger.kernel.org" Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Aug 7, 2018 at 4:07 AM Yixun Lan wrote: > Add the pinctrl driver for Meson-G12A SoC which share the similar IP as > the previous Meson-AXG SoC, both use same pinmux ops (register layout). > A new driver is needed here due to the differences in the pins. > > Starting from Meson-AXG SoC, the pinctrl controller block use 4 > continues register bits to specific the pin mux function, while comparing > to old generation SoC which using variable length register bits for > the pin mux definition. The new design greatly simplify the software model. > > For the detail example, one 32bit register can be divided into 8 parts, > each has 4 bits whose value start from 0 - 7, each can describe one pin, > the value 0 is always devoted to GPIO function, while 1 - 7 devoted to > the mux pin function. > > Please note, the GPIOE is actually located at AO (always on) bank. > > Acked-by: Martin Blumenstingl > Signed-off-by: Xingyu Chen > Signed-off-by: Yixun Lan Patch applied for v4.20. Yours, Linus Walleij