Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp5643069imm; Tue, 18 Sep 2018 12:59:43 -0700 (PDT) X-Google-Smtp-Source: ANB0VdZQwvUVbH8gmTB9q30z6t/IZDU5V2T9a5ZBqQI1Qoq2B/5RsFkbGNdqLt7DaBaLtBZbRnwJ X-Received: by 2002:a65:60cf:: with SMTP id r15-v6mr29476662pgv.41.1537300783621; Tue, 18 Sep 2018 12:59:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537300783; cv=none; d=google.com; s=arc-20160816; b=SfCMos2x3EXST6hKrL4N1mMNroeuXZbnEt6UNtmg/AAXaYXjofaVW/twN4EJaT7ca9 3EkcR/Fc5gxyoTeYz0I8MPiYC+IueC6xZ1SbmoTJRoxB7RnMSTmNl4LcPulXBPIjFe/a ERGx702Gc3hpQTuSJ/zoiqjeRP8vMl861oBuzkdTlceVmNFoJpcAhFPOm4fYT4qYSuIK JTIjD8gO0SoENrEhE0NNY0JipaewVMILqd5f4rP8tKztcDsRMkDHc8DtiPl3XlytrgS9 N6Iiu40Ku1Cl7KqQGniZBIqz7c6px7jmanYLjlbYHEI+NrjVy+4yD+gMGczp3bDBAoo3 pz4g== 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; bh=CZivNaAHyPgB3I2qFr/PC0olH6lzS83VnZzbFgPEN7c=; b=FZcDa3dJPH1Q2n+wlwX1lSBN/v9JGClFjOwbJ80C3IwQD9bsJIiar2uPH1RjYxLykp hJclH4zgQujWxxk/c3uMyzQ4JrpCPNLrWE2a0XFJ4m9NwY/1DfcTd61krvfpOX7Hupjm knvdX8nWhc5hGv52xZRfm9S9cvNQn1rkX7d687tA22yqHFFdEozrQ94R4BClMph/nnMf Bp3Ff1vM7wKUKcD4mxABE4/XzkQNoDk/ftWei72s2No+P79Co/yBLGph85BXIvAKMf+A hQBRldQMTQB2FNecEYtckUB4SuBneJElCH21TmY/e+E2waPla5d4uxEJJwbnlAvRtxw9 zueg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="aFD/5ofQ"; 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 l67-v6si19926349pfi.179.2018.09.18.12.59.28; Tue, 18 Sep 2018 12:59:43 -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="aFD/5ofQ"; 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 S1730249AbeISBdC (ORCPT + 99 others); Tue, 18 Sep 2018 21:33:02 -0400 Received: from mail-io1-f68.google.com ([209.85.166.68]:40411 "EHLO mail-io1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730063AbeISBdC (ORCPT ); Tue, 18 Sep 2018 21:33:02 -0400 Received: by mail-io1-f68.google.com with SMTP id l14-v6so2602973iob.7 for ; Tue, 18 Sep 2018 12:58:54 -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=CZivNaAHyPgB3I2qFr/PC0olH6lzS83VnZzbFgPEN7c=; b=aFD/5ofQu1GxDJahodfegTc4c0yvtwrHcgFIQz9Tc+5427STK8It0jhBIYOqi7D0kq ktPHAXQshsXVtBPdy1s7eZAig+UwaSUc6njwqNv6UClPClPhCRSsKy2wrvphIbf83SER Nj6ieIYP2dHhymv3/w5RwTjcViVlkD7dQrgOQ= 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=CZivNaAHyPgB3I2qFr/PC0olH6lzS83VnZzbFgPEN7c=; b=JdP1/cfApnJyJvoWq1/QsHucamQoUidxlOWX2lE9BFU6j18fj42xHUGNl5T/j0K6Dh ULSi+YoyDhuyB0eUjKpMkmaNigYAXO58D/MRqhIL+xOOaIkIBLNoX1YULftoaUfSmePQ L5ohm1ev7jWmUqndkwMHhypzdsFnoZRqUtytXrytynseMz1hexPk2NDn5rOZx6Rchzl6 GYQC0jRH1k+mzfjUQp35zQRhZOQXK7Jh9Rj2+5N4IDmgZNLP27n+NX2ZSozr9vUt0/9B a+eBEKPgTP2Hos8tCXSIEq/bazc+i/4LheHx7E/HZH6FI6PdlEb7sHa+jL/P1lInb3ix skWA== X-Gm-Message-State: APzg51DoCt2G/WURjB6z1bxcCO1OYGtTGLofMlQKo9i2wLpsMNWarIRp 1SrANg1uPJvIA0z3gfuLLdUzRQTPBgDI8P0SAEKSVA== X-Received: by 2002:a6b:630a:: with SMTP id p10-v6mr26177217iog.175.1537300733857; Tue, 18 Sep 2018 12:58:53 -0700 (PDT) MIME-Version: 1.0 References: <8706de60fe75838b595d3be73681bbca344734a8.1536404280.git.sean.wang@mediatek.com> In-Reply-To: <8706de60fe75838b595d3be73681bbca344734a8.1536404280.git.sean.wang@mediatek.com> From: Linus Walleij Date: Tue, 18 Sep 2018 12:58:40 -0700 Message-ID: Subject: Re: [PATCH v2 16/22] pinctrl: mediatek: extend struct mtk_pin_desc which per-pin driver depends on To: Sean Wang Cc: "moderated list:ARM/Mediatek SoC support" , Linux ARM , "open list:GPIO SUBSYSTEM" , "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 Sat, Sep 8, 2018 at 4:08 AM wrote: > From: Sean Wang > > Because the pincrl-mtk-common.c is an implementation for per-pin binding, > its pin descriptor includes more information than pinctrl-mtk-common-v2 > so far can support. So, we complement these data before writing a driver > using pincrl-mtk-common-v2.c for per-pin binding. By the way, the size of > struct mtk_pin_desc would be larger than struct pinctrl_pin_desc can hold, > so it's necessary to have a copy before the pins information is being > registered into the core. > > Signed-off-by: Sean Wang Patch applied. Yours, Linus Walleij